Kaynağa Gözat

fix: small fix to vuex_helpers

Kristian Vos 2 yıl önce
ebeveyn
işleme
673cdc2f1d
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      frontend/src/vuex_helpers.ts

+ 2 - 2
frontend/src/vuex_helpers.ts

@@ -1,4 +1,4 @@
-import { defineAsyncComponent } from "vue";
+import { reactive, defineAsyncComponent } from "vue";
 
 import { useStore } from "vuex";
 
@@ -91,7 +91,7 @@ const useModalState = (namespace, options) => {
 		.split("/")
 		.reduce((a, b) => a[b], store.state);
 
-	return modalState || {};
+	return reactive(modalState || {});
 };
 
 const useModalActions = (namespace, actions, options) => {