Skip to content

TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.

346 B
Raw Blame
import { defineStore } from 'pinia';
import type { AppStoreState } from '@/types/global-app.types';

export const useAppStore = defineStore('app', {
    state(): AppStoreState {
        return {
            drawer: false,
        };
    },
    actions: {
        setDrawer(state: boolean) {
            this.drawer = state;
        },
    },
});