rename to inherit addendum
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user