]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(settings): fix "Set user manager" label in users settings
authorGrigorii K. Shartsev <me@shgk.me>
Wed, 16 Aug 2023 13:45:00 +0000 (15:45 +0200)
committerGrigorii K. Shartsev <me@shgk.me>
Wed, 16 Aug 2023 13:48:32 +0000 (15:48 +0200)
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
apps/settings/src/components/Users/UserRow.vue

index 1315f632c49b81560a5c68a8250aedc5acf41259..40e130732d85175a9c8907ba6eef1dedd6f70160 100644 (file)
@@ -394,12 +394,15 @@ export default {
                        editedDisplayName: this.user.displayname,
                        editedPassword: '',
                        editedMail: this.user.email ?? '',
-                       // TRANSLATORS This string describes a manager in the context of an organization
-                       managerLabel: t('settings', 'Set user manager'),
                }
        },
 
        computed: {
+               managerLabel() {
+                       // TRANSLATORS This string describes a manager in the context of an organization
+                       return t('settings', 'Set user manager')
+               },
+
                isObfuscated() {
                        return isObfuscated(this.user)
                },