Update partial-views-workspace.element.ts

This commit is contained in:
Julia Gru
2023-07-20 14:05:55 +02:00
parent 0914d1f117
commit 28b749619b

View File

@@ -25,7 +25,7 @@ export class UmbPartialViewsWorkspaceElement extends UmbLitElement {
const decodePath = decodeURIComponent(parentKey);
const snippetName = 'Empty';
this.#partialViewsWorkspaceContext.create(parentKey === 'null' ? null : parentKey, snippetName);
this.#partialViewsWorkspaceContext.create(decodePath === 'null' ? null : parentKey, snippetName);
new UmbWorkspaceIsNewRedirectController(
this,