From 734ba90afe7ad37d403e4024794f43132bc3db1c Mon Sep 17 00:00:00 2001 From: Jean Date: Tue, 2 Nov 2021 21:44:11 -0400 Subject: [PATCH] UX: remove tags chooser on PMs for non-staff users (#14800) --- app/assets/javascripts/discourse/app/controllers/composer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/controllers/composer.js b/app/assets/javascripts/discourse/app/controllers/composer.js index ce6bde3532f..4bf6c9e07de 100644 --- a/app/assets/javascripts/discourse/app/controllers/composer.js +++ b/app/assets/javascripts/discourse/app/controllers/composer.js @@ -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; }