Merge pull request #2116 from nextcloud/bugfix/noid/navigation-vue
Adjust navigation to new component slots
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<AppNavigationVue :class="{'icon-loading': loading}">
|
<AppNavigationVue :class="{'icon-loading': loading}">
|
||||||
<ul>
|
<template #list>
|
||||||
<AppNavigationBoardCategory
|
<AppNavigationBoardCategory
|
||||||
id="deck-navigation-all"
|
id="deck-navigation-all"
|
||||||
to="/board"
|
to="/board"
|
||||||
@@ -43,22 +43,24 @@
|
|||||||
:boards="sharedBoards"
|
:boards="sharedBoards"
|
||||||
icon="icon-shared" />
|
icon="icon-shared" />
|
||||||
<AppNavigationAddBoard v-if="canCreate" />
|
<AppNavigationAddBoard v-if="canCreate" />
|
||||||
</ul>
|
</template>
|
||||||
<AppNavigationSettings>
|
<template #footer>
|
||||||
<div>
|
<AppNavigationSettings>
|
||||||
<Multiselect v-model="groupLimit"
|
<div>
|
||||||
:class="{'icon-loading-small': groupLimitDisabled}"
|
<Multiselect v-model="groupLimit"
|
||||||
open-direction="bottom"
|
:class="{'icon-loading-small': groupLimitDisabled}"
|
||||||
:options="groups"
|
open-direction="bottom"
|
||||||
:multiple="true"
|
:options="groups"
|
||||||
:disabled="groupLimitDisabled"
|
:multiple="true"
|
||||||
:placeholder="t('deck', 'Limit deck usage of groups')"
|
:disabled="groupLimitDisabled"
|
||||||
label="displayname"
|
:placeholder="t('deck', 'Limit deck usage of groups')"
|
||||||
track-by="id"
|
label="displayname"
|
||||||
@input="updateConfig" />
|
track-by="id"
|
||||||
<p>{{ t('deck', 'Limiting Deck will block users not part of those groups from creating their own boards. Users will still be able to work on boards that have been shared with them.') }}</p>
|
@input="updateConfig" />
|
||||||
</div>
|
<p>{{ t('deck', 'Limiting Deck will block users not part of those groups from creating their own boards. Users will still be able to work on boards that have been shared with them.') }}</p>
|
||||||
</AppNavigationSettings>
|
</div>
|
||||||
|
</AppNavigationSettings>
|
||||||
|
</template>
|
||||||
</AppNavigationVue>
|
</AppNavigationVue>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user