This commit is contained in:
parent
6d70187cb9
commit
c578538fe0
10 changed files with 195 additions and 107 deletions
|
|
@ -65,7 +65,11 @@
|
|||
:class="{ active: isCurrent(project) }"
|
||||
>
|
||||
<router-link
|
||||
:to="project.uri"
|
||||
:to="
|
||||
isEmptyBrief(project)
|
||||
? project.uri + '/client-brief'
|
||||
: project.uri
|
||||
"
|
||||
:class="hasUnreadNotification(project) ? 'new' : undefined"
|
||||
@click="collapse()"
|
||||
>{{ project.title }}</router-link
|
||||
|
|
@ -107,11 +111,13 @@ import { useProjectsStore } from "../stores/projects";
|
|||
import { useRoute } from "vue-router";
|
||||
import { useUserStore } from "../stores/user";
|
||||
import { usePageStore } from "../stores/page";
|
||||
import { useProjectStore } from "../stores/project";
|
||||
|
||||
const route = useRoute();
|
||||
const isExpanded = ref(true);
|
||||
const { user } = storeToRefs(useUserStore());
|
||||
const { currentProjects, archivedProjects } = storeToRefs(useProjectsStore());
|
||||
const { isEmptyBrief } = useProjectStore();
|
||||
const { page } = storeToRefs(usePageStore());
|
||||
|
||||
const unreadNotificationsCount = computed(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue