UX: remove tags chooser on PMs for non-staff users (#14800)

This commit is contained in:
Jean 2021-11-02 21:44:11 -04:00 committed by GitHub
parent aec125b617
commit 734ba90afe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ export default Controller.extend({
@discourseComputed("model.canEditTitle", "model.creatingPrivateMessage")
canEditTags(canEditTitle, creatingPrivateMessage) {
if (creatingPrivateMessage && this.site.mobileView) {
if (creatingPrivateMessage && (this.site.mobileView || !this.isStaffUser)) {
return false;
}