Skip to content

Commit 38e1851

Browse files
authored
Fix rendering of custom attributes without icons (#9171)
Signed-off-by: Caranell <[email protected]>
1 parent c860470 commit 38e1851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/setting-resources/src/components/ClassAttributeRow.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<button class="hulyTableAttr-content__row-dragMenu" on:click|stopPropagation={clickMore}>
5454
<IconMoreV2 size={'small'} />
5555
</button>
56-
{#if attribute.icon !== undefined}
56+
{#if attribute.icon !== undefined && attribute.icon !== null}
5757
<div class="hulyTableAttr-content__row-icon">
5858
<Icon icon={attribute.icon} size={'small'} />
5959
</div>

0 commit comments

Comments
 (0)