rename to passContextAliasMatches
This commit is contained in:
@@ -281,7 +281,7 @@ describe('UmbContextConsumer', () => {
|
||||
provider.hostDisconnected();
|
||||
},
|
||||
);
|
||||
localConsumer.exactMatch();
|
||||
localConsumer.passContextAliasMatches();
|
||||
localConsumer.hostConnected();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -59,10 +59,10 @@ export class UmbContextConsumer<BaseType = unknown, ResultType extends BaseType
|
||||
/**
|
||||
* @public
|
||||
* @memberof UmbContextConsumer
|
||||
* @description Continue for an exact match of both context alias, api alias and discriminator.
|
||||
* @description Pass beyond any context aliases that matches this.
|
||||
* The default behavior is to stop at first Context Alias match, this is to avoid receiving unforeseen descending contexts.
|
||||
*/
|
||||
public exactMatch() {
|
||||
public passContextAliasMatches() {
|
||||
this.#stopAtContextMatch = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ export class UmbBlockGridTypeWorkspaceViewSettingsElement extends UmbLitElement
|
||||
},
|
||||
'observeGridColumns',
|
||||
);
|
||||
}).exactMatch();
|
||||
}).passContextAliasMatches();
|
||||
|
||||
this.consumeContext(UMB_PROPERTY_DATASET_CONTEXT, async (context) => {
|
||||
this.#datasetContext = context;
|
||||
|
||||
Reference in New Issue
Block a user