rename to inherit addendum

This commit is contained in:
Niels Lyngsø
2025-01-09 22:16:40 +01:00
parent 3ccb10d7c0
commit 252f2f5d04
3 changed files with 5 additions and 5 deletions

View File

@@ -148,7 +148,7 @@ export class UmbContentWorkspaceViewEditElement extends UmbLitElement implements
: ''}
<umb-router-slot
parse-addendum
inherit-addendum
.routes=${this._routes}
@init=${(event: UmbRouterSlotInitEvent) => {
this._routerPath = event.target.absoluteRouterPath;

View File

@@ -21,8 +21,8 @@ export class UmbRouterSlotElement extends UmbLitElement {
#modalRouter: IRouterSlot = document.createElement('router-slot') as IRouterSlot;
#listening = false;
@property({ type: Boolean, attribute: 'parse-addendum', reflect: false })
public parseAddendum?: boolean;
@property({ type: Boolean, attribute: 'inherit-addendum', reflect: false })
public inheritAddendum?: boolean;
@property({ attribute: false })
public get routes(): UmbRoute[] | undefined {
@@ -81,7 +81,7 @@ export class UmbRouterSlotElement extends UmbLitElement {
}
override connectedCallback() {
if (this.parseAddendum !== true) {
if (this.inheritAddendum !== true) {
new UmbRoutePathAddendumResetContext(this);
}

View File

@@ -153,7 +153,7 @@ export class UmbWorkspaceEditorElement extends UmbLitElement {
if (!this._routes || this._routes.length === 0) return nothing;
return html`
<umb-router-slot
parse-addendum
inherit-addendum
id="router-slot"
.routes=${this._routes}
@init=${(event: UmbRouterSlotInitEvent) => {