feat(ui): display message and commit message in history

This commit is contained in:
Denis Gukov 2024-12-14 13:50:07 +05:00
parent 56c033fad2
commit ea0bbc0324

View File

@ -34,7 +34,6 @@
<TaskLink <TaskLink
:task-id="item.id" :task-id="item.id"
:tooltip="item.message"
:label="'#' + item.id" :label="'#' + item.id"
/> />
@ -46,6 +45,15 @@
>{{ item.tpl_alias }} >{{ item.tpl_alias }}
</router-link> </router-link>
</div> </div>
<div style="font-size: 14px; line-height: 1;" class="ml-14">
<span v-if="item.message">
<v-icon x-small>mdi-message-outline</v-icon> {{ item.message }}
</span>
<span v-else-if="item.commit_hash">
<v-icon x-small>mdi-source-fork</v-icon> {{ item.commit_message }}
</span>
</div>
</template> </template>
<template v-slot:item.version="{ item }"> <template v-slot:item.version="{ item }">