mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Merge pull request #51047 from nextcloud/backport/50366/stable31
This commit is contained in:
commit
f9fd3cf17b
3 changed files with 7 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
4
dist/systemtags-admin.js
vendored
4
dist/systemtags-admin.js
vendored
File diff suppressed because one or more lines are too long
2
dist/systemtags-admin.js.map
vendored
2
dist/systemtags-admin.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue