From 00e06cee5c9a1d29bfb8fa3214a8a617af519ec4 Mon Sep 17 00:00:00 2001 From: doug0102 Date: Fri, 1 Sep 2023 11:34:04 -0400 Subject: [PATCH 1/2] adjust input hint button --- .../components/input/input.component.html | 26 +++++++------------ .../components/input/input.component.scss | 12 +++++++++ 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/src/app/shared/components/input/input.component.html b/src/app/shared/components/input/input.component.html index 4af7a044..652ffe23 100644 --- a/src/app/shared/components/input/input.component.html +++ b/src/app/shared/components/input/input.component.html @@ -1,23 +1,17 @@
- - + {{ label }} -
- * -
+
*
+ +
- - - - Date: Fri, 1 Sep 2023 14:52:39 -0400 Subject: [PATCH 2/2] url encode the routes in typescript loader --- src/app/core/helpers/typescript-loader.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/core/helpers/typescript-loader.ts b/src/app/core/helpers/typescript-loader.ts index 70e7a901..caeb9126 100644 --- a/src/app/core/helpers/typescript-loader.ts +++ b/src/app/core/helpers/typescript-loader.ts @@ -16,6 +16,11 @@ export class TypescriptLoader implements TranslateLoader { map(response => { let obj = response.substring(response.indexOf('{'), response.lastIndexOf('}') + 1); const translations = eval(JSON.parse(obj)); + + for (const [key, value] of Object.entries(translations.routes)) { + translations.routes[key] = encodeURIComponent(`${value}`); + } + return translations.default || translations; }) );