This commit is contained in:
Warunee Tamkoo 2024-02-08 14:12:00 +07:00
parent 4e8cff183a
commit fd4d45638c
3 changed files with 11 additions and 8 deletions

View file

@ -3,6 +3,7 @@ import { defineStore } from "pinia";
export const useProfileDataStore = defineStore("profile", () => {
const isVerified = ref<boolean>(false);
const isEdit = ref<boolean>(false);
const emplployeeClass = ref<string | null>("");
interface profile {
main: { columns: String[] };
@ -79,6 +80,7 @@ export const useProfileDataStore = defineStore("profile", () => {
return {
isLoad,
isVerified,
isEdit,
profileData,
changeProfileColumns,
birthDate,