Browse Source

Fix add new group event

1ee8fbaad1 broke the addgroup functionality
by not updating the event to reflect the one in
https://github.com/nextcloud/nextcloud-vue/blob/master/src/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue

Resolves : https://github.com/nextcloud/server/issues/38340

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
pull/38344/head
fenn-cs 3 years ago
committed by nextcloud-command
parent
commit
ec915474f0
  1. 11
      apps/settings/src/views/Users.vue
  2. 4
      dist/settings-users-8351.js
  3. 2
      dist/settings-users-8351.js.map
  4. 4
      dist/settings-vue-settings-apps-users-management.js
  5. 2
      dist/settings-vue-settings-apps-users-management.js.map

11
apps/settings/src/views/Users.vue

@ -37,7 +37,7 @@
:loading="loadingAddGroup"
:title="t('settings', 'Add group')"
@click="showAddGroupForm"
@update:title="createGroup">
@new-item="createGroup">
<template #icon>
<Plus :size="20" />
</template>
@ -445,16 +445,15 @@ export default {
},
showAddGroupForm() {
this.$refs.addGroup.editingActive = true
this.$refs.addGroup.onMenuToggle(false)
this.$refs.addGroup.newItemActive = true
this.$nextTick(() => {
this.$refs.addGroup.$refs.editingInput.focusInput()
this.$refs.addGroup.$refs.newItemInput.focusInput()
})
},
hideAddGroupForm() {
this.$refs.addGroup.editingActive = false
this.$refs.addGroup.editingValue = ''
this.$refs.addGroup.newItemActive = false
this.$refs.addGroup.newItemValue = ''
},
/**

4
dist/settings-users-8351.js
File diff suppressed because it is too large
View File

2
dist/settings-users-8351.js.map
File diff suppressed because it is too large
View File

4
dist/settings-vue-settings-apps-users-management.js
File diff suppressed because it is too large
View File

2
dist/settings-vue-settings-apps-users-management.js.map
File diff suppressed because it is too large
View File

Loading…
Cancel
Save