Skip to content

Commit 252f2f5

Browse files
committed
rename to inherit addendum
1 parent 3ccb10d commit 252f2f5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Umbraco.Web.UI.Client/src/packages/core/content/workspace/views/edit/content-editor.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export class UmbContentWorkspaceViewEditElement extends UmbLitElement implements
148148
: ''}
149149
150150
<umb-router-slot
151-
parse-addendum
151+
inherit-addendum
152152
.routes=${this._routes}
153153
@init=${(event: UmbRouterSlotInitEvent) => {
154154
this._routerPath = event.target.absoluteRouterPath;

src/Umbraco.Web.UI.Client/src/packages/core/router/components/router-slot/router-slot.element.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export class UmbRouterSlotElement extends UmbLitElement {
2121
#modalRouter: IRouterSlot = document.createElement('router-slot') as IRouterSlot;
2222
#listening = false;
2323

24-
@property({ type: Boolean, attribute: 'parse-addendum', reflect: false })
25-
public parseAddendum?: boolean;
24+
@property({ type: Boolean, attribute: 'inherit-addendum', reflect: false })
25+
public inheritAddendum?: boolean;
2626

2727
@property({ attribute: false })
2828
public get routes(): UmbRoute[] | undefined {
@@ -81,7 +81,7 @@ export class UmbRouterSlotElement extends UmbLitElement {
8181
}
8282

8383
override connectedCallback() {
84-
if (this.parseAddendum !== true) {
84+
if (this.inheritAddendum !== true) {
8585
new UmbRoutePathAddendumResetContext(this);
8686
}
8787

src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-editor/workspace-editor.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class UmbWorkspaceEditorElement extends UmbLitElement {
153153
if (!this._routes || this._routes.length === 0) return nothing;
154154
return html`
155155
<umb-router-slot
156-
parse-addendum
156+
inherit-addendum
157157
id="router-slot"
158158
.routes=${this._routes}
159159
@init=${(event: UmbRouterSlotInitEvent) => {

0 commit comments

Comments
 (0)