Skip to content

Commit

Permalink
General high priority bug fix (#1307)
Browse files Browse the repository at this point in the history
* fix

* Update category-card.component.ts

* Update provider-admins.component.html
  • Loading branch information
litvinets authored Jun 11, 2022
1 parent 93866ff commit 4fd6ea3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
width: 100%;
padding: 2rem 1rem;
position: fixed;
z-index: 999;
z-index: 10001;
}
}
2 changes: 1 addition & 1 deletion src/app/shell/details/details.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class DetailsComponent implements OnInit, OnDestroy {
this.workshop = workshop;
this.provider = provider;

this.displayActionCard = this.role !== (Role.provider && Role.techAdmin);
this.displayActionCard = (this.role === Role.parent || this.role === Role.unauthorized);
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class ProviderAdminsComponent implements OnInit, OnDestroy {
provider: Provider;
filter = new FormControl('');
filterValue: string;
btnView: string;
btnView: string= providerAdminRoleUkr.all;
destroy$: Subject<boolean> = new Subject<boolean>();
tabIndex: number;

Expand All @@ -51,7 +51,6 @@ export class ProviderAdminsComponent implements OnInit, OnDestroy {
) {}

ngOnInit(): void {
this.btnView = providerAdminRoleUkr.all;
this.filter.valueChanges
.pipe(takeUntil(this.destroy$), debounceTime(200), distinctUntilChanged())
.subscribe((val: string) => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/shell/shell-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const routes: Routes = [
canDeactivate: [CreateGuard]
},
{
path: 'directions/create/:param', component: CreateDirectionComponent,
path: 'admin-tools/platform/create/:param', component: CreateDirectionComponent,
loadChildren: () => import('./admin-tools/platform/platform.module').then(m => m.PlatformModule),
},
{
Expand Down

0 comments on commit 4fd6ea3

Please sign in to comment.