mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
fix(settings): focus on trigger after federation scope dialog close
Signed-off-by: Grigorii K. Shartsev <me@shgk.me> Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
This commit is contained in:
parent
52fd96d17c
commit
b5c1212fa3
1 changed files with 5 additions and 1 deletions
|
|
@ -21,7 +21,8 @@
|
|||
-->
|
||||
|
||||
<template>
|
||||
<NcActions class="federation-actions"
|
||||
<NcActions ref="federationActions"
|
||||
class="federation-actions"
|
||||
:class="{ 'federation-actions--additional': additional }"
|
||||
:aria-label="ariaLabel"
|
||||
:default-icon="scopeIcon"
|
||||
|
|
@ -151,6 +152,9 @@ export default {
|
|||
} else {
|
||||
await this.updateAdditionalScope(scope)
|
||||
}
|
||||
|
||||
// TODO: provide focus method from NcActions
|
||||
this.$refs.federationActions.$refs.menuButton.$el.focus()
|
||||
},
|
||||
|
||||
async updatePrimaryScope(scope) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue