Skip to content

Commit 73f4859

Browse files
committed
Move warning triangles after task state badges in sidebar
1 parent ddbbb1a commit 73f4859

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

src/components/cylc/tree/GScanTreeItem.vue

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,24 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4646
</v-tooltip>
4747
</span>
4848
</div>
49-
<div class="d-flex text-right c-gscan-workflow-states flex-grow-0">
49+
<div class="d-flex c-gscan-workflow-states flex-grow-0">
50+
<template
51+
v-for="state in Object.keys(descendantTaskInfo.latestTasks)"
52+
:key="`${node.id}-${state}`"
53+
>
54+
<TaskStateBadge
55+
v-if="descendantTaskInfo.stateTotals[state]"
56+
:state="state"
57+
:value="descendantTaskInfo.stateTotals[state]"
58+
/>
59+
</template>
5060
<WarningIcon
5161
v-if="workflowWarnings"
5262
:workflow="node"
63+
class="ml-1"
5364
style="font-size: 120%;"
5465
/>
5566
</div>
56-
<template
57-
v-for="state in Object.keys(descendantTaskInfo.latestTasks)"
58-
:key="`${node.id}-${state}`"
59-
>
60-
<TaskStateBadge
61-
v-if="descendantTaskInfo.stateTotals[state]"
62-
:state="state"
63-
:value="descendantTaskInfo.stateTotals[state]"
64-
/>
65-
</template>
6667
</div>
6768
</v-list-item>
6869

0 commit comments

Comments
 (0)