Merge pull request #51047 from nextcloud/backport/50366/stable31

This commit is contained in:
John Molakvoæ 2025-02-26 09:43:46 +01:00 committed by GitHub
commit f9fd3cf17b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 4 deletions

View file

@ -64,7 +64,10 @@ export default {
handleResponse({ isRestricted, status, errorMessage, error }) {
if (status === 'ok') {
this.systemTagsCreationRestrictedToAdmin = isRestricted
showSuccess(t('settings', `System tag creation is now ${isRestricted ? 'restricted to administrators' : 'allowed for everybody'}`))
showSuccess(isRestricted
? t('settings', 'System tag creation is now restricted to administrators')
: t('settings', 'System tag creation is now allowed for everybody'),
)
return
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long