From cf7161c2efd847caf5e8aad7ad330888ffca4580 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Tue, 22 Oct 2024 15:50:16 +0300 Subject: [PATCH] UI: Rename mobile-app-settings.component --- .../modules/home/pages/mobile/mobile-routing.module.ts | 4 ++-- ...html => mobile-qr-code-widget-settings.component.html} | 0 ...scss => mobile-qr-code-widget-settings.component.scss} | 0 ...ent.ts => mobile-qr-code-widget-settings.component.ts} | 8 ++++---- 4 files changed, 6 insertions(+), 6 deletions(-) rename ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/{mobile-app-settings.component.html => mobile-qr-code-widget-settings.component.html} (100%) rename ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/{mobile-app-settings.component.scss => mobile-qr-code-widget-settings.component.scss} (100%) rename ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/{mobile-app-settings.component.ts => mobile-qr-code-widget-settings.component.ts} (96%) diff --git a/ui-ngx/src/app/modules/home/pages/mobile/mobile-routing.module.ts b/ui-ngx/src/app/modules/home/pages/mobile/mobile-routing.module.ts index 8aa2e92381..bfc9d4c95a 100644 --- a/ui-ngx/src/app/modules/home/pages/mobile/mobile-routing.module.ts +++ b/ui-ngx/src/app/modules/home/pages/mobile/mobile-routing.module.ts @@ -20,7 +20,7 @@ import { RouterTabsComponent } from '@home/components/router-tabs.component'; import { Authority } from '@shared/models/authority.enum'; import { MenuId } from '@core/services/menu.models'; import { MobileAppTableConfigResolver } from '@home/pages/mobile/applications/mobile-app-table-config.resolver'; -import { MobileAppSettingsComponent } from '@home/pages/mobile/qr-code-widget/mobile-app-settings.component'; +import { MobileQrCodeWidgetSettingsComponent } from '@home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component'; import { ConfirmOnExitGuard } from '@core/guards/confirm-on-exit.guard'; import { applicationsRoutes } from '@home/pages/mobile/applications/applications-routing.module'; import { bundlesRoutes } from '@home/pages/mobile/bundes/bundles-routing.module'; @@ -48,7 +48,7 @@ const routes: Routes = [ ...bundlesRoutes, { path: 'mobile-app', - component: MobileAppSettingsComponent, + component: MobileQrCodeWidgetSettingsComponent, canDeactivate: [ConfirmOnExitGuard], data: { auth: [Authority.SYS_ADMIN], diff --git a/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-app-settings.component.html b/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.html similarity index 100% rename from ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-app-settings.component.html rename to ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.html diff --git a/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-app-settings.component.scss b/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.scss similarity index 100% rename from ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-app-settings.component.scss rename to ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.scss diff --git a/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-app-settings.component.ts b/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.ts similarity index 96% rename from ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-app-settings.component.ts rename to ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.ts index ec2e4317a0..a6f9fa3f4f 100644 --- a/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-app-settings.component.ts +++ b/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.ts @@ -30,11 +30,11 @@ import { import { ActionUpdateMobileQrCodeEnabled } from '@core/auth/auth.actions'; @Component({ - selector: 'tb-mobile-app-settings', - templateUrl: './mobile-app-settings.component.html', - styleUrls: ['mobile-app-settings.component.scss', '../../admin/settings-card.scss'] + selector: 'tb-mobile-qr-code-widget', + templateUrl: './mobile-qr-code-widget-settings.component.html', + styleUrls: ['mobile-qr-code-widget-settings.component.scss', '../../admin/settings-card.scss'] }) -export class MobileAppSettingsComponent extends PageComponent implements HasConfirmForm, OnDestroy { +export class MobileQrCodeWidgetSettingsComponent extends PageComponent implements HasConfirmForm, OnDestroy { mobileAppSettingsForm: FormGroup;