Skip to content

Commit 041789a

Browse files
committed
Fixing admin lookup issue.
1 parent 2961e83 commit 041789a

File tree

1 file changed

+2
-2
lines changed
  • eform-client/src/app/plugins/modules/backend-configuration-pn/modules/reports/components/report-table

1 file changed

+2
-2
lines changed

eform-client/src/app/plugins/modules/backend-configuration-pn/modules/reports/components/report-table/report-table.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {dialogConfigHelper, getRandomInt} from 'src/app/common/helpers';
1919
import {Subscription} from 'rxjs';
2020
import {AutoUnsubscribe} from 'ngx-auto-unsubscribe';
2121
import {format, parseISO} from 'date-fns';
22-
import {selectAuthIsAuth, selectCurrentUserFullName} from 'src/app/state/auth/auth.selector';
22+
import {selectAuthIsAdmin, selectAuthIsAuth, selectCurrentUserFullName} from 'src/app/state/auth/auth.selector';
2323
import {Store} from '@ngrx/store';
2424

2525
@AutoUnsubscribe()
@@ -116,7 +116,7 @@ export class ReportTableComponent implements OnInit, OnChanges, OnDestroy {
116116

117117
caseDeleteComponentComponentAfterClosedSub$: Subscription;
118118
public isAuth$ = this.store.select(selectAuthIsAuth);
119-
private selectAuthIsAdmin$ = this.store.select(selectAuthIsAuth);
119+
private selectAuthIsAdmin$ = this.store.select(selectAuthIsAdmin);
120120
private selectCurrentUserFullName$ = this.store.select(selectCurrentUserFullName);
121121

122122
constructor(

0 commit comments

Comments
 (0)