Handle missing extraPngInfo field in queue (#1223)

This commit is contained in:
Chenlei Hu
2024-10-11 12:16:35 -04:00
committed by GitHub
parent f599c9bcb8
commit 419009424b
4 changed files with 16 additions and 10 deletions

View File

@@ -249,7 +249,8 @@ const menuItems = computed<MenuItem[]>(() => [
{
label: t('loadWorkflow'),
icon: 'pi pi-file-export',
command: () => menuTargetTask.value?.loadWorkflow(app)
command: () => menuTargetTask.value?.loadWorkflow(app),
disabled: !menuTargetTask.value?.workflow
},
{
label: t('goToNode'),