From e8fd25c857b3aae54c8545b75c0e9689fea4f93c Mon Sep 17 00:00:00 2001 From: dylan Date: Fri, 31 Jan 2025 16:54:32 +0100 Subject: [PATCH] Add comment for hard-coded value --- README.md | 4 ++++ src/app/app-routing.module.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 551c038..e67f550 100644 --- a/README.md +++ b/README.md @@ -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 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. diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index ecc8be8..78c54e2 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -4,6 +4,7 @@ import {SigningComponent} from './components/signing/signing.component'; import {LoginComponent} from './components/login/login.component'; const routes: Routes = [ + // TODO: hardcoded for simplicity {path: "", redirectTo: "signing-request/a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11", pathMatch: "full"}, {path: "login", component: LoginComponent}, {path: "signing-request/:id", component: SigningComponent}