Skip to content

Commit

Permalink
turning of experimental feature
Browse files Browse the repository at this point in the history
  • Loading branch information
NikoAnderson committed Aug 9, 2024
1 parent e7bc486 commit 1a1e78f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
.feature-table {
display:block;
margin: auto;
width: 85%;
width: 95%;
}

.feature-expansion {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class SubstanceFormStructureCardComponent extends SubstanceFormBase imple
structureErrorsArray: Array<StructureDuplicationMessage>;
subscriptions: Array<Subscription> = [];
privateFeatures: any;
enableStructureFeatures = true;
enableStructureFeatures = false;
sortedFeatures = new MatTableDataSource();
displayedColumns = ['key', 'value'];
featuresOnly = false;
Expand All @@ -66,6 +66,9 @@ export class SubstanceFormStructureCardComponent extends SubstanceFormBase imple
}

ngOnInit() {
if (this.configService.configData && this.configService.configData.enableStructureFeatures) {
this.enableStructureFeatures = this.configService.configData.enableStructureFeatures;
}
if(this.activatedRoute.snapshot.routeConfig.path === 'structure-features') {
this.featuresOnly = true;
}
Expand Down

0 comments on commit 1a1e78f

Please sign in to comment.