fix: #332 not sure if vue2 way is really fixing the vue3 way
This commit is contained in:
@@ -49,7 +49,6 @@ export default {
|
|||||||
const { tempFilterId } = storeToRefs(allMapDataStore);
|
const { tempFilterId } = storeToRefs(allMapDataStore);
|
||||||
const { conformanceLogTempCheckId } = storeToRefs(conformanceStore);
|
const { conformanceLogTempCheckId } = storeToRefs(conformanceStore);
|
||||||
|
|
||||||
const isAcctMenuOpen = computed(() => acctMgmtStore.isAcctMenuOpen);
|
|
||||||
const loginUserData = ref(null);
|
const loginUserData = ref(null);
|
||||||
const currentViewingUserDetail = computed(() => acctMgmtStore.currentViewingUser.detail);
|
const currentViewingUserDetail = computed(() => acctMgmtStore.currentViewingUser.detail);
|
||||||
const isAdmin = ref(false);
|
const isAdmin = ref(false);
|
||||||
@@ -73,7 +72,6 @@ export default {
|
|||||||
conformanceLogTempCheckId,
|
conformanceLogTempCheckId,
|
||||||
allMapDataStore,
|
allMapDataStore,
|
||||||
conformanceStore,
|
conformanceStore,
|
||||||
isAcctMenuOpen,
|
|
||||||
isAdmin,
|
isAdmin,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -84,6 +82,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(LoginStore, ['userData']),
|
...mapState(LoginStore, ['userData']),
|
||||||
|
...mapState(AcctMgmtStore, ['isAcctMenuOpen']),
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
clickOtherPlacesThenCloseMenu(){
|
clickOtherPlacesThenCloseMenu(){
|
||||||
|
|||||||
Reference in New Issue
Block a user