From 9f875815404f0bf758032dd64bd9a4ee85243f16 Mon Sep 17 00:00:00 2001 From: donnyquixotic Date: Tue, 30 Jan 2024 17:57:39 -0600 Subject: [PATCH] fix: move store reference to correct scope --- src/components/ProposalUploadCSV.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ProposalUploadCSV.vue b/src/components/ProposalUploadCSV.vue index c274a5d9..16f229ad 100644 --- a/src/components/ProposalUploadCSV.vue +++ b/src/components/ProposalUploadCSV.vue @@ -10,6 +10,7 @@ export default defineComponent({ setup(_, context) { const $q = useQuasar(); const file = ref(null); + const permission = useAntelopeStore().state.account.accountPermission; function handleError(message: string) { $q.notify({ @@ -50,7 +51,7 @@ export default defineComponent({ authorization: [ { actor: item.from.toLowerCase(), - permission: useAntelopeStore().state.account.accountPermission, + permission } ], data: {