mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 00:45:19 +00:00
fix(TypeError): Cannot read properties of undefined (reading 'toLowerCase')
This commit is contained in:
@@ -108,7 +108,7 @@ export default {
|
||||
:class="[
|
||||
selected || isHovering ? 'opacity-100' : 'opacity-0 !pointer-events-none',
|
||||
showSkeleton ? '!text-6xl' : '!text-xs',
|
||||
`nc-erd-table-label-${data.label.toLowerCase().replace(' ', '-').replace('\(', '').replace(')', '')}`,
|
||||
`nc-erd-table-label-${data.label?.toLowerCase()?.replace(' ', '-')?.replace('\(', '')?.replace(')', '')}`,
|
||||
]"
|
||||
>
|
||||
<!-- Show only simple label which is `sourceTable relationType targetTable` -->
|
||||
|
||||
@@ -93,7 +93,7 @@ watch(
|
||||
<div
|
||||
v-if="isLinksOrLTAR(col)"
|
||||
class="flex w-full"
|
||||
:class="`nc-erd-table-node-${table.table_name}-column-${col.title?.toLowerCase().replace(' ', '_')}`"
|
||||
:class="`nc-erd-table-node-${table.table_name}-column-${col.title?.toLowerCase()?.replace(' ', '_')}`"
|
||||
>
|
||||
<Handle
|
||||
:id="`s-${relatedColumnId(col.colOptions)}-${table.id}`"
|
||||
|
||||
Reference in New Issue
Block a user