aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorGrigorii K. Shartsev <me@shgk.me>2024-02-05 12:57:40 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-02-06 12:25:25 +0000
commit723cbcb70820d84c7850b5d5aae9092a13ed7450 (patch)
treedc7b433de156948fad3d070466b0ea0e30fc852d /apps
parentde19878cdf8976e783cdb8d0cb593c437ac4b404 (diff)
downloadnextcloud-server-723cbcb70820d84c7850b5d5aae9092a13ed7450.tar.gz
nextcloud-server-723cbcb70820d84c7850b5d5aae9092a13ed7450.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.vue6
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) {