feat: update environment configuration and ngsw settings; refactor input handling and layout components for improved functionality
This commit is contained in:
@@ -10,6 +10,7 @@ import { Card } from 'primeng/card';
|
||||
import { Menu } from 'primeng/menu';
|
||||
import { finalize } from 'rxjs';
|
||||
import images from 'src/assets/images';
|
||||
import config from 'src/config';
|
||||
import { PosInfoStore, PosProfileStore } from '../../store';
|
||||
import { DeviceInfoStore } from '../../store/device.store';
|
||||
import { PosMainMenuSidebarComponent } from '../mainMenuSidebar/main-menu-sidebar.component';
|
||||
@@ -83,7 +84,7 @@ export class PosPagesLayoutComponent {
|
||||
|
||||
now = new Date();
|
||||
|
||||
homeRouteLink = '/pos';
|
||||
homeRouteLink = config.isPosApplication ? '/' : '/pos';
|
||||
|
||||
async getData() {
|
||||
if (!this.posInfo() || !this.posProfile()) {
|
||||
|
||||
@@ -17,7 +17,7 @@ export class PosPaymentBridgeService extends PosPaymentBridgeAbstract {
|
||||
this.toastServices.error({ text: '@@@@@@@@@@@@@' });
|
||||
|
||||
// @ts-ignore
|
||||
window.webV = {
|
||||
window.WebV = {
|
||||
onPaymentResult: () => {
|
||||
this.toastServices.error({ text: 'asdasdsadassadasdas' });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user