From 9d5db918b6e4dc6830e9e39eeac389d0590e06a2 Mon Sep 17 00:00:00 2001 From: Lone Iversen <108085781+loivsen@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:12:25 +0100 Subject: [PATCH] stylesheet rules refresh on new --- .../stylesheets/workspace/stylesheet-workspace.element.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/workspace/stylesheet-workspace.element.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/workspace/stylesheet-workspace.element.ts index 76485ab439..c4f74d092e 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/workspace/stylesheet-workspace.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/workspace/stylesheet-workspace.element.ts @@ -19,6 +19,7 @@ export class UmbStylesheetWorkspaceElement extends UmbLitElement { const path = info.match.params.path === 'null' ? null : info.match.params.path; const serverPath = path === null ? null : serverFilePathFromUrlFriendlyPath(path); await this.#workspaceContext.create(serverPath); + await this.#workspaceContext.setRules([]); new UmbWorkspaceIsNewRedirectController( this,