Merge pull request #5561 from artoscinote/ma_SCI_8619

Disable edit action for label template viewer [SCI-8619]
This commit is contained in:
artoscinote 2023-06-06 12:42:38 +02:00 committed by GitHub
commit 05282a57d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,8 @@ module Toolbars
def edit_action
return unless @single
return unless can_manage_label_templates?(current_user.current_team)
{
name: 'edit',
label: I18n.t('label_templates.index.toolbar.edit'),