mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Update conditional rendering logic for displaying list of workflows
Ensure the workflow modal is displayed when either workflows_availables or workflows are non-empty. This improves the user interface by correctly triggering the modal in more scenarios. - OP#762 - https://champs-libres.openproject.com/work_packages/762 - Vendee/accent-suivi-developpement#1254
This commit is contained in:
parent
4e0a421a03
commit
97729de66d
@ -103,7 +103,7 @@
|
||||
<div class="item-row">
|
||||
<div class="item-col">
|
||||
<ul class="record_actions">
|
||||
<li v-if="d.workflows_availables.length > 0">
|
||||
<li v-if="d.workflows_availables.length > 0 || d.workflows.length > 0">
|
||||
<list-workflow-modal
|
||||
:workflows="d.workflows"
|
||||
:allowCreate="true"
|
||||
|
Loading…
x
Reference in New Issue
Block a user