From e61abbff66efb96b6eb2ac900a4622d376f57b1a Mon Sep 17 00:00:00 2001 From: guerler Date: Sun, 27 Aug 2023 14:48:17 +0200 Subject: [PATCH] Do not reconstruct repeat blocks on every value change? --- client/src/components/Form/FormRepeat.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client/src/components/Form/FormRepeat.vue b/client/src/components/Form/FormRepeat.vue index b2cf51a3b384..88617f1864cd 100644 --- a/client/src/components/Form/FormRepeat.vue +++ b/client/src/components/Form/FormRepeat.vue @@ -4,8 +4,6 @@ import { faCaretDown, faCaretUp, faPlus, faTrashAlt } from "@fortawesome/free-so import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; import { defineAsyncComponent, nextTick, type PropType } from "vue"; -import { useKeyedObjects } from "@/composables/keyedObjects"; - import FormCard from "./FormCard.vue"; const FormNode = defineAsyncComponent(() => import("./FormInputs.vue")); @@ -84,8 +82,6 @@ function getButtonId(index: number, direction: "up" | "down") { const prefix = getPrefix(index); return `${prefix}_${direction}`; } - -const { keyObject } = useKeyedObjects();