mirror of https://github.com/halo-dev/halo
parent
a733b6f562
commit
24d3324488
|
@ -72,7 +72,7 @@ const modal = ref();
|
||||||
{{ condition.reason || "-" }}
|
{{ condition.reason || "-" }}
|
||||||
</td>
|
</td>
|
||||||
<td class="whitespace-nowrap px-4 py-3 text-sm text-gray-500">
|
<td class="whitespace-nowrap px-4 py-3 text-sm text-gray-500">
|
||||||
{{ condition.message || "-" }}
|
<pre>{{ condition.message || "-" }}</pre>
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
v-tooltip="formatDatetime(condition.lastTransitionTime)"
|
v-tooltip="formatDatetime(condition.lastTransitionTime)"
|
||||||
|
|
|
@ -117,12 +117,12 @@ const lastCondition = computed(() => {
|
||||||
v-if="errorAlertVisible && lastCondition"
|
v-if="errorAlertVisible && lastCondition"
|
||||||
class="w-full px-4 pb-2 sm:px-6"
|
class="w-full px-4 pb-2 sm:px-6"
|
||||||
>
|
>
|
||||||
<VAlert
|
<VAlert type="error" :title="lastCondition.reason" :closable="false">
|
||||||
type="error"
|
<template #description>
|
||||||
:title="lastCondition.reason"
|
<div class="overflow-x-auto">
|
||||||
:description="lastCondition.message"
|
<pre>{{ lastCondition.message }}</pre>
|
||||||
:closable="false"
|
</div>
|
||||||
>
|
</template>
|
||||||
<template #actions>
|
<template #actions>
|
||||||
<VButton size="sm" @click="conditionsModalVisible = true">
|
<VButton size="sm" @click="conditionsModalVisible = true">
|
||||||
{{ $t("core.plugin.detail.operations.view_conditions.button") }}
|
{{ $t("core.plugin.detail.operations.view_conditions.button") }}
|
||||||
|
|
Loading…
Reference in New Issue