update pagination
This commit is contained in:
parent
3f399dda0e
commit
51642983c6
15 changed files with 1049 additions and 240 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { NgModule, inject } from '@angular/core';
|
||||
import { CanActivateFn, Router, RouterModule, Routes } from '@angular/router';
|
||||
import { UserService } from './core/services/user.service';
|
||||
import { Subject, finalize, lastValueFrom, map, takeUntil } from 'rxjs';
|
||||
import { lastValueFrom, map } from 'rxjs';
|
||||
|
||||
const authGuard: CanActivateFn = () => {
|
||||
const userService: UserService = inject(UserService);
|
||||
|
|
@ -74,12 +74,6 @@ const routes: Routes = [
|
|||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
path: '**',
|
||||
pathMatch: 'full',
|
||||
redirectTo: 'dashboard',
|
||||
},
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue