import { storeActions } from "@/constants/storeActions.js"; export default { methods: { dispatchBlockingStoreAction(type, payload) { // globalMethods.showWaitingModal(true); return this.dispatchNonBlockingStoreAction(type, payload) .finally(() => { // globalMethods.showWaitingModal(false); });; }, dispatchNonBlockingStoreAction(type, payload) { return this.$store.dispatch(type, payload); }, }, computed: { storeActions() { return storeActions; }, }, }