mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 15:21:00 -04:00
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>
This commit is contained in:
parent
09464c6453
commit
f2e58c6c11
5 changed files with 11 additions and 12 deletions
|
|
@ -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
vendored
4
dist/settings-users-8351.js
vendored
File diff suppressed because one or more lines are too long
2
dist/settings-users-8351.js.map
vendored
2
dist/settings-users-8351.js.map
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue