mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Only TL4 users and staff should be able to see the disable slow mode button (#10942)
This commit is contained in:
parent
21c53ed249
commit
1ff45dc194
@ -6,9 +6,11 @@
|
||||
{{i18n "topic.slow_mode_notice.duration" duration=durationText}}
|
||||
</span>
|
||||
|
||||
{{d-button class="slow-mode-remove"
|
||||
action=(action "disableSlowMode")
|
||||
icon="trash-alt"}}
|
||||
{{#if user.canManageTopic}}
|
||||
{{d-button class="slow-mode-remove"
|
||||
action=(action "disableSlowMode")
|
||||
icon="trash-alt"}}
|
||||
{{/if}}
|
||||
</h3>
|
||||
</div>
|
||||
{{/if}}
|
Loading…
Reference in New Issue
Block a user