only execute if we have proper values
This commit is contained in:
@@ -193,6 +193,10 @@ export abstract class UmbContentDetailWorkspaceContextBase<
|
||||
this.variantOptions = mergeObservables(
|
||||
[this.varies, this.variesByCulture, this.variesBySegment, this.variants, this.languages, this._segments],
|
||||
([varies, variesByCulture, variesBySegment, variants, languages, segments]) => {
|
||||
if (varies === undefined) return;
|
||||
if (variesByCulture === undefined) return;
|
||||
if (variesBySegment === undefined) return;
|
||||
|
||||
// No variation
|
||||
if (!varies) {
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user