refactor: remove change password form and related service, update root component to use tabs
This commit is contained in:
@@ -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('/');
|
||||
|
||||
Reference in New Issue
Block a user