]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(profile): triggerbutton selector
authorskjnldsv <skjnldsv@protonmail.com>
Wed, 13 Nov 2024 11:50:09 +0000 (12:50 +0100)
committerskjnldsv <skjnldsv@protonmail.com>
Thu, 14 Nov 2024 09:25:41 +0000 (10:25 +0100)
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
apps/settings/src/components/PersonalInfo/shared/FederationControl.vue

index dd4eb2b518173cbb660f9b55f4877713b93c7606..29498b6e14b59405bd75b3f5ccd4ef84d685f9c5 100644 (file)
@@ -146,7 +146,7 @@ export default {
                        }
 
                        // TODO: provide focus method from NcActions
-                       this.$refs.federationActions.$refs.menuButton.$el.focus()
+                       this.$refs.federationActions.$refs?.triggerButton?.$el?.focus?.()
                },
 
                async updatePrimaryScope(scope) {