fix(publication): remove invalid routing rule alert for non routed procedures
This commit is contained in:
parent
fe78522f37
commit
690aad8665
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@
|
||||||
- if @private_move_changes.present?
|
- if @private_move_changes.present?
|
||||||
- list.with_item do
|
- list.with_item do
|
||||||
= t(".private.move", count: @private_move_changes.size)
|
= t(".private.move", count: @private_move_changes.size)
|
||||||
- if @previous_revision.procedure.groupe_instructeurs.any?(&:invalid_rule?)
|
- if @previous_revision.procedure.routing_enabled? && @previous_revision.procedure.groupe_instructeurs.any?(&:invalid_rule?)
|
||||||
- list.with_item do
|
- list.with_item do
|
||||||
.fr-alert.fr-alert--warning.fr-mt-1v
|
.fr-alert.fr-alert--warning.fr-mt-1v
|
||||||
= t(".invalid_routing_rules_alert")
|
= t(".invalid_routing_rules_alert")
|
||||||
|
|
Loading…
Reference in a new issue