Skip to content

Commit

Permalink
WIP: Convert Add group link to button
Browse files Browse the repository at this point in the history
Signed-off-by: fenn-cs <[email protected]>
  • Loading branch information
nfebe committed May 11, 2023
1 parent 598859d commit 1c77203
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions apps/settings/src/views/Users.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,19 @@
@click="showNewUserMenu"
@keyup.enter="showNewUserMenu"
@keyup.space="showNewUserMenu" />
<template #list>
<NcAppNavigationItem id="addgroup"
ref="addGroup"
<NcAppNavigationNew button-id="addgroup"
ref="addGroup"
:text="t('settings', 'Add group')"
: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>
</NcAppNavigationNew>
<template #list>
<NcAppNavigationItem id="everyone"
:exact="true"
:title="t('settings', 'Active users')"
Expand Down Expand Up @@ -158,6 +161,9 @@ 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)

Expand All @@ -174,6 +180,7 @@ export default {
NcContent,
GroupListItem,
NcMultiselect,
Plus,
UserList,
},
props: {
Expand Down

0 comments on commit 1c77203

Please sign in to comment.