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