Added slutredovisning to active features for prod
This commit is contained in:
@@ -110,7 +110,7 @@ activeFeatures.forEach(feature => {
|
||||
}
|
||||
);
|
||||
break;
|
||||
case Feature.SLUTREDOVISNING:
|
||||
case Feature.REPORTING_SLUTREDOVISNING:
|
||||
routes.push(
|
||||
{
|
||||
path: 'slutredovisning',
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { Feature } from '@msfa-enums/feature.enum';
|
||||
import { environment } from '@msfa-environment';
|
||||
import { PaginationParams } from '@msfa-models/api/params.model';
|
||||
import { ReportsData } from '@msfa-models/report.model';
|
||||
import { DeltagareApiService } from '@msfa-services/api/deltagare.api.service';
|
||||
import { BehaviorSubject, Observable } from 'rxjs';
|
||||
import { map, shareReplay, switchMap } from 'rxjs/operators';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { DeltagareApiService } from '@msfa-services/api/deltagare.api.service';
|
||||
import { PaginationParams } from '@msfa-models/api/params.model';
|
||||
|
||||
@Component({
|
||||
selector: 'msfa-deltagare-tab-reports',
|
||||
@@ -37,7 +37,7 @@ export class DeltagareTabReportsComponent {
|
||||
return this._activeFeatures.includes(Feature.REPORTING_INFORMATIV_RAPPORT);
|
||||
}
|
||||
get slutredovisningButtonVisible(): boolean {
|
||||
return this._activeFeatures.includes(Feature.SLUTREDOVISNING);
|
||||
return this._activeFeatures.includes(Feature.REPORTING_SLUTREDOVISNING);
|
||||
}
|
||||
|
||||
constructor(private activatedRoute: ActivatedRoute, private deltagareApiService: DeltagareApiService) {}
|
||||
|
||||
@@ -15,7 +15,8 @@ export enum Feature {
|
||||
REPORTING_SIGNAL,
|
||||
REPORTING_PERIODISK_REDOVISNING,
|
||||
REPORTING_INFORMATIV_RAPPORT,
|
||||
REPORTING_SLUTREDOVISNING,
|
||||
EXPORTS,
|
||||
SLUTREDOVISNING,
|
||||
NEWS,
|
||||
REPORTING_SLUTREDOVISNING,
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@ export const ACTIVE_FEATURES_PROD: Feature[] = [
|
||||
Feature.LOGGING,
|
||||
Feature.REPORTING_PERIODISK_REDOVISNING,
|
||||
Feature.REPORTING_INFORMATIV_RAPPORT,
|
||||
Feature.REPORTING_SLUTREDOVISNING,
|
||||
Feature.EXPORTS,
|
||||
];
|
||||
|
||||
@@ -28,7 +29,8 @@ export const ACTIVE_FEATURES_TEST: Feature[] = [
|
||||
Feature.VERSION_INFO,
|
||||
Feature.REPORTING_PERIODISK_REDOVISNING,
|
||||
Feature.REPORTING_INFORMATIV_RAPPORT,
|
||||
Feature.SLUTREDOVISNING,
|
||||
Feature.REPORTING_SLUTREDOVISNING,
|
||||
Feature.REPORTING_SIGNAL,
|
||||
Feature.EXPORTS,
|
||||
Feature.NEWS,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user