diff options
author | F. E Noel Nfebe <fenn25.fn@gmail.com> | 2023-05-16 01:23:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-16 01:23:37 +0100 |
commit | e7ba25574bd8ee8f3733b9cb40428329ba473319 (patch) | |
tree | 9a60188cdf15c5edbeefa781fdf459c8d60d030e /apps/settings/src | |
parent | f1a1361e0d294d664c5472217a1bf98a92b0856a (diff) | |
parent | 1ee8fbaad1eea6544b21059f65efe12a9e601956 (diff) | |
download | nextcloud-server-e7ba25574bd8ee8f3733b9cb40428329ba473319.tar.gz nextcloud-server-e7ba25574bd8ee8f3733b9cb40428329ba473319.zip |
Merge pull request #38202 from nextcloud/fix/37135/addgroup-link-to-button
Convert Add group link to button
Diffstat (limited to 'apps/settings/src')
-rw-r--r-- | apps/settings/src/views/Users.vue | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/apps/settings/src/views/Users.vue b/apps/settings/src/views/Users.vue index dbff4f552a6..a4b2316f137 100644 --- a/apps/settings/src/views/Users.vue +++ b/apps/settings/src/views/Users.vue @@ -30,15 +30,18 @@ @keyup.enter="showNewUserMenu" @keyup.space="showNewUserMenu" /> <template #list> - <NcAppNavigationItem id="addgroup" + <NcAppNavigationNewItem id="addgroup" ref="addGroup" :edit-placeholder="t('settings', 'Enter group name')" :editable="true" :loading="loadingAddGroup" :title="t('settings', 'Add group')" - icon="icon-add" @click="showAddGroupForm" - @update:title="createGroup" /> + @update:title="createGroup"> + <template #icon> + <Plus :size="20" /> + </template> + </NcAppNavigationNewItem> <NcAppNavigationItem id="everyone" :exact="true" :title="t('settings', 'Active users')" @@ -148,6 +151,7 @@ import NcAppNavigationCaption from '@nextcloud/vue/dist/Components/NcAppNavigati import NcAppNavigationCounter from '@nextcloud/vue/dist/Components/NcAppNavigationCounter.js' import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js' import NcAppNavigationNew from '@nextcloud/vue/dist/Components/NcAppNavigationNew.js' +import NcAppNavigationNewItem from '@nextcloud/vue/dist/Components/NcAppNavigationNewItem.js' import NcAppNavigationSettings from '@nextcloud/vue/dist/Components/NcAppNavigationSettings.js' import axios from '@nextcloud/axios' import NcContent from '@nextcloud/vue/dist/Components/NcContent.js' @@ -158,6 +162,7 @@ import VueLocalStorage from 'vue-localstorage' import GroupListItem from '../components/GroupListItem.vue' import UserList from '../components/UserList.vue' +import Plus from 'vue-material-design-icons/Plus.vue' Vue.use(VueLocalStorage) @@ -170,10 +175,12 @@ export default { NcAppNavigationCounter, NcAppNavigationItem, NcAppNavigationNew, + NcAppNavigationNewItem, NcAppNavigationSettings, NcContent, GroupListItem, NcMultiselect, + Plus, UserList, }, props: { |