Merge pull request #406 from nextcloud/enh/navigation_container

Put AppNavigationItems into proper Container
This commit is contained in:
Jonas 2020-06-18 14:18:38 +02:00 committed by GitHub
commit cc31df8142
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 -->