Put AppNavigationItems into proper Container

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
This commit is contained in:
Jonas Rittershofer 2020-05-23 01:02:26 +02:00
parent b4b5ea060b
commit 81e5970a53

View file

@ -25,11 +25,13 @@
<Content app-name="forms">
<AppNavigation>
<AppNavigationNew button-class="icon-add" :text="t('forms', 'New form')" @click="onNewForm" />
<AppNavigationForm v-for="form in forms"
:key="form.id"
:form="form"
@mobile-close-navigation="mobileCloseNavigation"
@delete="onDeleteForm" />
<template #list>
<AppNavigationForm v-for="form in forms"
:key="form.id"
:form="form"
@mobile-close-navigation="mobileCloseNavigation"
@delete="onDeleteForm" />
</template>
</AppNavigation>
<!-- No forms & loading emptycontents -->