From 646007ea63b0ce6f89d10a5b9ae011a6788cae40 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 5 Dec 2024 10:30:43 +0100 Subject: [PATCH] refactor: log error --- src/components/common/VnLog.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue index eba84d2d5..4d7a5f043 100644 --- a/src/components/common/VnLog.vue +++ b/src/components/common/VnLog.vue @@ -238,6 +238,7 @@ async function openPointRecord(id, modelLog) { pointRecord.value = parseProps(propNames, locale, data); } async function setLogTree(data) { + if (!data) return; logTree.value = getLogTree(data); }