Skip to content

Commit

Permalink
fix commands being dependent on rename action
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantwosix committed Jul 25, 2024
1 parent 7cac799 commit ed3ee1d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions engage/hamls/pm/list.haml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@
%button#action-rename.button-action{data-toggle:"modal", data-target:"#modal-rename-channels"}
.-mt-1.mr-2.glyph.icon-edit
-trans "Rename"
%button#action-command.button-action{data-toggle:"modal", data-target:"#modal-send-command"}
.-mt-1.mr-2.glyph.icon-edit
-trans "Send Command"
%button#action-command.button-action{data-toggle:"modal", data-target:"#modal-send-command"}
.-mt-1.mr-2.glyph.icon-edit
-trans "Send Command"

- block table
.table-scroll.shadow.rounded-lg.overflow-x-auto
Expand Down Expand Up @@ -170,8 +170,8 @@

{% if 'rename' in actions %}
{% include "pm/dialog-rename.haml" with groups=broadcast.groups.all %}
{% include "pm/dialog-command.haml" with groups=broadcast.groups.all %}
{% endif %}
{% include "pm/dialog-command.haml" with groups=broadcast.groups.all %}

{% block extra-script %}
{{ block.super }}
Expand Down

0 comments on commit ed3ee1d

Please sign in to comment.