mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 23:39:56 +01:00
fix(fe): bug with displaying deploy tasks with incorrect state
This commit is contained in:
parent
312cafa23c
commit
904fa6fcc1
@ -48,8 +48,8 @@
|
|||||||
<TaskLink
|
<TaskLink
|
||||||
:disabled="item.tpl_type === 'build'"
|
:disabled="item.tpl_type === 'build'"
|
||||||
:task-id="item.build_task_id"
|
:task-id="item.build_task_id"
|
||||||
:tooltip="item.tpl_type === 'build' ? item.message : item.build_task.message"
|
:tooltip="item.tpl_type === 'build' ? item.message : (item.build_task || {}).message"
|
||||||
:label="item.tpl_type === 'build' ? item.version : item.build_task.version"
|
:label="item.tpl_type === 'build' ? item.version : (item.build_task || {}).version"
|
||||||
:status="item.status"
|
:status="item.status"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -136,15 +136,15 @@
|
|||||||
|
|
||||||
:task-id="item.last_task.tpl_type === 'build'
|
:task-id="item.last_task.tpl_type === 'build'
|
||||||
? item.last_task.id
|
? item.last_task.id
|
||||||
: item.last_task.build_task.id"
|
: (item.last_task.build_task || {}).id"
|
||||||
|
|
||||||
:label="item.last_task.tpl_type === 'build'
|
:label="item.last_task.tpl_type === 'build'
|
||||||
? item.last_task.version
|
? item.last_task.version
|
||||||
: item.last_task.build_task.version"
|
: (item.last_task.build_task || {}).version"
|
||||||
|
|
||||||
:tooltip="item.last_task.tpl_type === 'build'
|
:tooltip="item.last_task.tpl_type === 'build'
|
||||||
? item.last_task.message
|
? item.last_task.message
|
||||||
: item.last_task.build_task.message"
|
: (item.last_task.build_task || {}).message"
|
||||||
/>
|
/>
|
||||||
<div v-else>—</div>
|
<div v-else>—</div>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user