We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32fbb89 commit 0c3c229Copy full SHA for 0c3c229
apps/demos/Demos/Diagram/CustomShapesWithTemplates/Vue/App.vue
@@ -69,11 +69,11 @@ const currentEmployee = ref({} as Record<string, any>);
69
const popupVisible = ref(false);
70
const itemTypeExpr = (obj: { ID: number; type: string; }, value: string) => {
71
if (value) {
72
- obj.type = value;
73
- } else {
74
- return `employee${obj.ID}`;
75
- }
76
- return null;
+ obj.type = value;
+ } else {
+ return `employee${obj.ID}`;
+ }
+ return null;
77
};
78
79
function showInfo(employee: any) {
0 commit comments