Browse Source
Fix conversation name not showing in permissionsEditor
Signed-off-by: marco <marcoambrosini@pm.me>
pull/6382/head
marco
4 years ago
committed by
Joas Schilling
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with
2 additions and
2 deletions
-
src/components/PermissionsEditor/PermissionsEditor.vue
|
|
@ -142,8 +142,8 @@ export default { |
|
|
|
user: this.displayName, |
|
|
|
}) |
|
|
|
} else if (this.conversationName) { |
|
|
|
return t('spreed', 'Edit default permissions for <strong>{conversationName}</strong>', { |
|
|
|
conversationName: this.displayName, |
|
|
|
return t('spreed', 'Edit default permissions for participants in <strong>{conversationName}</strong>', { |
|
|
|
conversationName: this.conversationName, |
|
|
|
}) |
|
|
|
} else throw Error('you need to fill either the conversationName or the displayName props') |
|
|
|
}, |
|
|
|