diff --git a/src/atlasComponents/parcellationRegion/region.base.ts b/src/atlasComponents/parcellationRegion/region.base.ts index baa623fc8d324018f3bac3792056528041547b8c..31de7af98da5bcc6747b334f71787267b0240cf5 100644 --- a/src/atlasComponents/parcellationRegion/region.base.ts +++ b/src/atlasComponents/parcellationRegion/region.base.ts @@ -59,15 +59,15 @@ export class RegionBase { this.rgbDarkmode = l < 0.4 } + get region(){ + return this._region + } + get originDatainfos(){ if (!this._region) return [] return this._region._dataset_specs || this._region.originDatainfos } - get region(){ - return this._region - } - public hasContext$: BehaviorSubject<boolean> = new BehaviorSubject(false) public region$: BehaviorSubject<any> = new BehaviorSubject(null)