refactor: cleanup

This commit is contained in:
Methapon2001 2024-04-12 08:02:01 +07:00
parent fad1b59981
commit dd2202a7c7
5 changed files with 3 additions and 10 deletions

View file

@ -7,7 +7,7 @@ import useUserStore from 'stores/user';
import useBranchStore from 'src/stores/branch';
import { dialog } from 'src/stores/utils';
import { UserCreate, UserTypeStats, RoleData } from 'src/stores/user/types';
import { UserCreate, UserTypeStats } from 'src/stores/user/types';
import { BranchUserStats } from 'src/stores/branch/types';
import PersonCard from 'components/home/PersonCard.vue';
@ -340,7 +340,7 @@ watch(
style="background-color: var(--cyan-6); color: white"
/>
</div>
<div class="row col full-width" style="overflow-x: auto">
<div class="row full-width q-py-md" style="overflow-x: auto">
<StatCardComponent
v-if="userStats"
:branch="

View file

@ -5,7 +5,6 @@ import { storeToRefs } from 'pinia';
import { useRouter } from 'vue-router';
import useUserStore from 'stores/user';
import useBranchStore from 'stores/branch';
import { User } from 'stores/user/types';
import { Branch } from 'stores/branch/types';
@ -28,7 +27,6 @@ const route = useRoute();
const router = useRouter();
const userStore = useUserStore();
const addrStore = useAddressStore();
const branchStore = useBranchStore();
const { data: userData } = storeToRefs(userStore);