mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:11:08 -06:00
UX: remove tags chooser on PMs for non-staff users (#14800)
This commit is contained in:
parent
aec125b617
commit
734ba90afe
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user