Skip to content

Commit

Permalink
fix: move store reference to correct scope
Browse files Browse the repository at this point in the history
  • Loading branch information
donnyquixotic committed Jan 30, 2024
1 parent ae65da4 commit 9f87581
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ProposalUploadCSV.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export default defineComponent({
setup(_, context) {
const $q = useQuasar();
const file = ref<File | null>(null);
const permission = useAntelopeStore().state.account.accountPermission;
function handleError(message: string) {
$q.notify({
Expand Down Expand Up @@ -50,7 +51,7 @@ export default defineComponent({
authorization: [
{
actor: item.from.toLowerCase(),
permission: useAntelopeStore().state.account.accountPermission,
permission
}
],
data: {
Expand Down

0 comments on commit 9f87581

Please sign in to comment.