tooltip
This commit is contained in:
@@ -862,6 +862,7 @@ const handleLogout = () => {
|
|||||||
<span class="capitalize"
|
<span class="capitalize"
|
||||||
:class="gen.status === 'done' ? 'text-green-500' : (gen.status === 'failed' ? 'text-red-500' : 'text-amber-500')">{{
|
:class="gen.status === 'done' ? 'text-green-500' : (gen.status === 'failed' ? 'text-red-500' : 'text-amber-500')">{{
|
||||||
gen.status }}</span>
|
gen.status }}</span>
|
||||||
|
<i class="pi pi-exclamation-circle text-red-500" v-if="gen.failed_reason" v-tooltip.right="gen.failed_reason " ></i>
|
||||||
</div>
|
</div>
|
||||||
<!-- Metrics in history -->
|
<!-- Metrics in history -->
|
||||||
<div v-if="gen.execution_time_seconds || gen.token_usage"
|
<div v-if="gen.execution_time_seconds || gen.token_usage"
|
||||||
|
|||||||
@@ -658,6 +658,7 @@ onMounted(() => {
|
|||||||
<span class="capitalize"
|
<span class="capitalize"
|
||||||
:class="gen.status === 'done' ? 'text-green-500' : 'text-amber-500'">{{
|
:class="gen.status === 'done' ? 'text-green-500' : 'text-amber-500'">{{
|
||||||
gen.status }}</span>
|
gen.status }}</span>
|
||||||
|
<i class="pi pi-exclamation-circle text-red-500" v-if="gen.failed_reason" v-tooltip.right="gen.failed_reason " ></i>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="gen.execution_time_seconds || gen.token_usage"
|
<div v-if="gen.execution_time_seconds || gen.token_usage"
|
||||||
class="flex flex-wrap gap-2 text-[9px] text-slate-500 font-mono mt-1 opacity-70">
|
class="flex flex-wrap gap-2 text-[9px] text-slate-500 font-mono mt-1 opacity-70">
|
||||||
|
|||||||
Reference in New Issue
Block a user