Add comment for hard-coded value

This commit is contained in:
2025-01-31 16:54:32 +01:00
parent dfcffc7bd3
commit e8fd25c857
2 changed files with 5 additions and 0 deletions

View File

@ -52,3 +52,7 @@ I think it's good enough and allowed me to quickly see if my API was returning a
The first thing I would do is use some global variable to store button styling. For example, it should be red when enabled and gray when The first thing I would do is use some global variable to store button styling. For example, it should be red when enabled and gray when
disabled. It should also be with rounded borders. You get the idea. disabled. It should also be with rounded borders. You get the idea.
## Page to view all signing requests
Currently, a redirect is hard-coded with the ID of the only existing signing request.

View File

@ -4,6 +4,7 @@ import {SigningComponent} from './components/signing/signing.component';
import {LoginComponent} from './components/login/login.component'; import {LoginComponent} from './components/login/login.component';
const routes: Routes = [ const routes: Routes = [
// TODO: hardcoded for simplicity
{path: "", redirectTo: "signing-request/a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11", pathMatch: "full"}, {path: "", redirectTo: "signing-request/a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11", pathMatch: "full"},
{path: "login", component: LoginComponent}, {path: "login", component: LoginComponent},
{path: "signing-request/:id", component: SigningComponent} {path: "signing-request/:id", component: SigningComponent}