Skip to content

Commit

Permalink
Merge pull request #406 from nextcloud/enh/navigation_container
Browse files Browse the repository at this point in the history
Put AppNavigationItems into proper Container
  • Loading branch information
jotoeri authored Jun 18, 2020
2 parents f79597d + 81e5970 commit cc31df8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/Forms.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down

0 comments on commit cc31df8

Please sign in to comment.