diff --git a/pkg/interface/src/views/apps/publish/PublishResource.tsx b/pkg/interface/src/views/apps/publish/PublishResource.tsx index 283c58c8d..d0aed568a 100644 --- a/pkg/interface/src/views/apps/publish/PublishResource.tsx +++ b/pkg/interface/src/views/apps/publish/PublishResource.tsx @@ -17,7 +17,7 @@ export function PublishResource(props: PublishResourceProps) { const { association, api, baseUrl, notebooks } = props; const appPath = association["app-path"]; const [, ship, book] = appPath.split("/"); - const notebook = notebooks[ship][book]; + const notebook = notebooks[ship]?.[book]; const notebookContacts = props.contacts[association["group-path"]]; return (