From 7e1766d18baeec8bd17bb81d6c4cc691ceac1b54 Mon Sep 17 00:00:00 2001 From: Volha Mardvilka Date: Wed, 18 Sep 2024 11:33:36 +0000 Subject: [PATCH] 366014294: (feat) update callouts logic --- modules/ui/src/app/app.component.html | 52 ++++++++++--------- modules/ui/src/app/app.component.ts | 4 ++ .../components/callout/callout.component.html | 2 +- 3 files changed, 32 insertions(+), 26 deletions(-) diff --git a/modules/ui/src/app/app.component.html b/modules/ui/src/app/app.component.html index 5ccc06a92..764a08f8e 100644 --- a/modules/ui/src/app/app.component.html +++ b/modules/ui/src/app/app.component.html @@ -157,6 +157,33 @@

Testrun

panel. + + Further information is required in your device configurations. + Please update your + Devices + to continue testing. + + @@ -244,31 +271,6 @@

Testrun

>Risk Assessment questionnaire?
- - Further information is required in your device configurations. - Please update your - Devices - to continue testing. - diff --git a/modules/ui/src/app/app.component.ts b/modules/ui/src/app/app.component.ts index 0fd9098f9..231304e8b 100644 --- a/modules/ui/src/app/app.component.ts +++ b/modules/ui/src/app/app.component.ts @@ -131,6 +131,10 @@ export class AppComponent { return this.route.url === Routes.RiskAssessment; } + get isDevicesRoute(): boolean { + return this.route.url === Routes.Devices; + } + navigateToDeviceRepository(): void { this.route.navigate([Routes.Devices]); } diff --git a/modules/ui/src/app/components/callout/callout.component.html b/modules/ui/src/app/components/callout/callout.component.html index c2493e0a2..36f0c981f 100644 --- a/modules/ui/src/app/components/callout/callout.component.html +++ b/modules/ui/src/app/components/callout/callout.component.html @@ -32,6 +32,6 @@ class="callout-close-button" mat-button (click)="calloutClosed.emit(id)"> - OK + Dismiss