refactor: remove change password form and related service, update root component to use tabs

This commit is contained in:
2026-06-07 14:33:11 +03:30
parent 2f67801700
commit 788f4023f3
7 changed files with 34 additions and 102 deletions
@@ -1,8 +1,8 @@
import { PosInfoStore } from '@/domains/pos/store';
import { AppCardComponent } from '@/shared/components';
import { Component, computed, inject } from '@angular/core';
import { Router } from '@angular/router';
import { Message } from 'primeng/message';
import { TabsModule } from 'primeng/tabs';
import { PosConfigGoldPriceFormComponent } from '../components/goldPrice/form.component';
import { PosConfigPrintFormComponent } from '../components/print/form.component';
import { PosConfigRapidInvoiceFormComponent } from '../components/rapidInvoice/form.component';
@@ -13,8 +13,8 @@ import { PosConfigSendToFiscalActivationFormComponent } from '../components/send
templateUrl: './root.component.html',
imports: [
PosConfigPrintFormComponent,
AppCardComponent,
Message,
TabsModule,
PosConfigGoldPriceFormComponent,
PosConfigRapidInvoiceFormComponent,
PosConfigSendToFiscalActivationFormComponent,
@@ -25,6 +25,7 @@ export class PosConfigPageComponent {
private readonly posInfoStore = inject(PosInfoStore);
readonly info = computed(() => this.posInfoStore.entity());
activeTabIndex = 0;
returnToMainPage() {
this.router.navigateByUrl('/');