diff --git a/src/gamecore/AnyTask.vue b/src/gamecore/AnyTask.vue
index 756507d..c10d9ca 100644
--- a/src/gamecore/AnyTask.vue
+++ b/src/gamecore/AnyTask.vue
@@ -4,7 +4,7 @@
import { taskTypeToComponentName, } from '@/common/common';
const props = defineProps<{node:GamecoreTask, withComponentName?:string}>()
- const taskName = props.withComponentName ?? taskTypeToComponentName(props.node.$type)
+ const taskName = props.withComponentName ?? taskTypeToComponentName(props.node?.$type ?? 'MissingTask')
const taskComponent = defineAsyncComponent({
loader: async () =>
{
@@ -25,7 +25,7 @@
-
+