diff --git a/frontend/src/views/notification-channels/index.vue b/frontend/src/views/notification-channels/index.vue index f4e3a7a..23425de 100644 --- a/frontend/src/views/notification-channels/index.vue +++ b/frontend/src/views/notification-channels/index.vue @@ -155,8 +155,8 @@ async function handleTest(row) { } function getTenantName(tenantId) { - const tenant = tenants.value.find(t => t.tenant_id === tenantId) - return tenant ? tenant.tenant_name : tenantId + const tenant = tenants.value.find(t => t.code === tenantId) + return tenant ? tenant.name : tenantId } function getChannelTypeName(type) { @@ -190,7 +190,7 @@ onMounted(() => {
@@ -236,7 +236,7 @@ onMounted(() => {