fix(TypeError): undefined is not an object (evaluating 'e(r).table_name')

This commit is contained in:
Ramesh Mane
2026-01-17 10:29:18 +00:00
parent a39e39fed7
commit f47f633440

View File

@@ -49,10 +49,11 @@ watch(
:disabled="dragging || isZooming"
>
<template #title>
<div class="capitalize">{{ table.table_name }}</div>
<div class="capitalize">{{ table?.table_name }}</div>
</template>
<div
v-if="table"
class="relative h-full max-w-76 flex flex-col justify-center bg-nc-bg-default min-w-16 min-h-8 rounded-lg nc-erd-table-node"
:class="[
`nc-erd-table-node-${table.table_name}`,