Add pagination in URL to accelerations table

This commit is contained in:
natsoni
2024-06-26 15:37:39 +09:00
parent 09f7dddf14
commit 122b4b05c4
2 changed files with 47 additions and 4 deletions

View File

@@ -60,10 +60,14 @@ const routes: Routes = [
]
},
{
path: 'acceleration/list',
path: 'acceleration/list/:page',
data: { networks: ['bitcoin'] },
component: AccelerationsListComponent,
},
{
path: 'acceleration/list',
redirectTo: 'acceleration/list/1',
},
{
path: 'mempool-block/:id',
data: { networks: ['bitcoin', 'liquid'] },