WIP account mgmt data-table prototype and modal prototype.
This commit is contained in:
1 parent
50c98892c4
commit
b7862ab164
9 files changed
+252
-11
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import { defineStore } from 'pinia';
|
||||
|
||||
export const useModalStore = defineStore('modalStore', {
|
||||
state: () => ({
|
||||
isModalOpen: false,
|
||||
}),
|
||||
actions: {
|
||||
openModal() {
|
||||
this.isModalOpen = true;
|
||||
},
|
||||
closeModal() {
|
||||
this.isModalOpen = false;
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user