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
|
||||
:disabled="item.tpl_type === 'build'"
|
||||
:task-id="item.build_task_id"
|
||||
:tooltip="item.tpl_type === 'build' ? item.message : item.build_task.message"
|
||||
:label="item.tpl_type === 'build' ? item.version : item.build_task.version"
|
||||
:tooltip="item.tpl_type === 'build' ? item.message : (item.build_task || {}).message"
|
||||
:label="item.tpl_type === 'build' ? item.version : (item.build_task || {}).version"
|
||||
:status="item.status"
|
||||
/>
|
||||
</div>
|
||||
|
@ -136,15 +136,15 @@
|
||||
|
||||
:task-id="item.last_task.tpl_type === 'build'
|
||||
? item.last_task.id
|
||||
: item.last_task.build_task.id"
|
||||
: (item.last_task.build_task || {}).id"
|
||||
|
||||
:label="item.last_task.tpl_type === 'build'
|
||||
? item.last_task.version
|
||||
: item.last_task.build_task.version"
|
||||
: (item.last_task.build_task || {}).version"
|
||||
|
||||
:tooltip="item.last_task.tpl_type === 'build'
|
||||
? item.last_task.message
|
||||
: item.last_task.build_task.message"
|
||||
: (item.last_task.build_task || {}).message"
|
||||
/>
|
||||
<div v-else>—</div>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user