[core] minor cleanup

This commit is contained in:
Ferdinand Thiessen 2021-05-25 21:55:22 +02:00
parent d422380adc
commit 631e78acb3
1 changed files with 7 additions and 9 deletions

View File

@ -52,14 +52,12 @@
@click.capture="openMenu" @click.capture="openMenu"
> >
<!-- Plugins --> <!-- Plugins -->
<q-list> <essential-expansion-link
<essential-expansion-link v-for="(entry, index) in mainLinks"
v-for="(entry, index) in mainLinks" :key="'plugin' + index"
:key="'plugin' + index" :entry="entry"
:entry="entry" @add-short-cut="addShortcut"
@add-short-cut="addShortcut" />
/>
</q-list>
<q-separator /> <q-separator />
<essential-link <essential-link
v-for="(entry, index) in essentials" v-for="(entry, index) in essentials"
@ -74,6 +72,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import EssentialExpansionLink from 'components/navigation/EssentialExpansionLink.vue';
import EssentialLink from 'src/components/navigation/EssentialLink.vue'; import EssentialLink from 'src/components/navigation/EssentialLink.vue';
import ShortcutLink from 'src/components/navigation/ShortcutLink.vue'; import ShortcutLink from 'src/components/navigation/ShortcutLink.vue';
import Notification from 'src/components/Notification.vue'; import Notification from 'src/components/Notification.vue';
@ -91,7 +90,6 @@ import config from 'src/config';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import { useMainStore } from '@flaschengeist/api'; import { useMainStore } from '@flaschengeist/api';
import { FG_Plugin } from '@flaschengeist/types'; import { FG_Plugin } from '@flaschengeist/types';
import EssentialExpansionLink from 'components/navigation/EssentialExpansionLink.vue';
import drag from 'vuedraggable'; import drag from 'vuedraggable';
const essentials: FG_Plugin.MenuLink[] = [ const essentials: FG_Plugin.MenuLink[] = [