Skip to content

Commit c91ca09

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 7820521 commit c91ca09

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ui-vue3/src/views/resources/applications/tabs/topology.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,8 @@ const renderTopology = (graphData: any) => {
232232
})
233233
234234
const handleNodeClick = async (e: any) => {
235-
const appName = String(e?.target?.id)
235+
const rawId = e?.target?.id
236+
const appName = rawId == null ? '' : String(rawId)
236237
if (!appName) return
237238
238239
selectedNodeId.value = appName

0 commit comments

Comments
 (0)