From 4865bf77be4bced94da9c7c278c9f3ebfdacee8d Mon Sep 17 00:00:00 2001 From: Kasper Seweryn Date: Sun, 1 May 2022 16:35:58 +0200 Subject: [PATCH] Fix v-if with v-for --- front/.eslintrc.js | 6 +- front/src/components/auth/Plugin.vue | 125 +++++++------- front/src/components/library/EditCard.vue | 6 +- front/src/components/library/EditForm.vue | 201 +++++++++++----------- front/src/embed/EmbedFrame.vue | 30 ++-- 5 files changed, 186 insertions(+), 182 deletions(-) diff --git a/front/.eslintrc.js b/front/.eslintrc.js index 7ee26a281..6cba3c57e 100644 --- a/front/.eslintrc.js +++ b/front/.eslintrc.js @@ -24,7 +24,6 @@ module.exports = { ], rules: { 'vue/no-v-html': 'off', // TODO: tackle this properly - 'vue/no-use-v-if-with-v-for': 'off', // NOTE: Handled by typescript 'no-undef': 'off', @@ -42,6 +41,9 @@ module.exports = { // TODO (wvffle): Migration to pinia // Vuex 3 store does not have types defined, hence we use `any` - '@typescript-eslint/no-explicit-any': 'off' + '@typescript-eslint/no-explicit-any': 'off', + + // TODO (wvffle): Migrate to