2
0
mirror of https://github.com/MCSManager/MCSManager.git synced 2025-03-19 16:40:22 +08:00

fix: check processType

This commit is contained in:
Lazy 2025-03-14 22:29:30 -07:00
parent 77fd7876cc
commit 703a951ffb

@ -244,7 +244,7 @@ const handleChangeNode = async (item: NodeStatus) => {
>
<template #bodyCell="{ column, record }: AntTableCell">
<template v-if="column.key === 'safe'">
<span v-if="record?.config?.docker?.image" style="color: var(--color-green-6)">
<span v-if="record?.config?.processType === 'docker'" style="color: var(--color-green-6)">
{{ t("TXT_CODE_a3f13157") }}
</span>
<span v-else class="color-danger">{{ t("TXT_CODE_201bc643") }}</span>