diff options
author | Grigorii K. Shartsev <me@shgk.me> | 2024-02-05 12:57:40 +0100 |
---|---|---|
committer | Grigorii K. Shartsev <me@shgk.me> | 2024-02-06 10:47:42 +0100 |
commit | b5c1212fa3e3ef115dbe91833d559f36de165e4f (patch) | |
tree | 9122740e2e5394de8760529d474ef032506a8da2 /apps | |
parent | 52fd96d17c6d601db4815e322e5ac66bacd6e0b0 (diff) | |
download | nextcloud-server-b5c1212fa3e3ef115dbe91833d559f36de165e4f.tar.gz nextcloud-server-b5c1212fa3e3ef115dbe91833d559f36de165e4f.zip |
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>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/src/components/PersonalInfo/shared/FederationControl.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue b/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue index cfe5b0dcee7..bf22c0ac081 100644 --- a/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue +++ b/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue @@ -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) { |