Skip to content

Commit 6790af9

Browse files
committed
fix: undefined string bug
1 parent 8c1ea0b commit 6790af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/context/src/context.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const useWorkspaceData = () => {
9191
selectable: false,
9292
showAddButton: true,
9393
children: Object.entries(file.serviceFunctions || {}).map(([key, value]) => ({
94-
title: value?.description ?? key,
94+
title: value.description || key,
9595
key: [prefix, key].join('.'),
9696
type: 'function',
9797
showRemoveButton: true,

0 commit comments

Comments
 (0)