updates
This commit is contained in:
@@ -273,17 +273,19 @@ const links = computed(() => {
|
||||
</script>
|
||||
<template>
|
||||
<div class="flex h-full flex-grow flex-col">
|
||||
<UITabs>
|
||||
<UITab
|
||||
v-for="mindmap in mindmaps"
|
||||
:key="mindmap.id"
|
||||
:active="mindmap.id === selectedMindmap?.id"
|
||||
@click="selectedMindmap = mindmap"
|
||||
>
|
||||
<i class="fas fa-fw fa-home root mr-1" v-if="mindmap.isRoot" />
|
||||
{{ mindmap.notes.length }} notes
|
||||
</UITab>
|
||||
</UITabs>
|
||||
<div class="flex">
|
||||
<UITabs>
|
||||
<UITab
|
||||
v-for="mindmap in mindmaps"
|
||||
:key="mindmap.id"
|
||||
:active="mindmap.id === selectedMindmap?.id"
|
||||
@click="selectedMindmap = mindmap"
|
||||
>
|
||||
<i class="fas fa-fw fa-home root mr-1" v-if="mindmap.isRoot" />
|
||||
{{ mindmap.notes.length }} notes
|
||||
</UITab>
|
||||
</UITabs>
|
||||
</div>
|
||||
<div id="mindmap" ref="mindmapElement" class="h-full"></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user