feat: update PWA installation logic, enhance app versioning, and streamline environment configurations

This commit is contained in:
2026-05-11 20:26:02 +03:30
parent ff9bbad336
commit d513ea381e
8 changed files with 9 additions and 17 deletions
@@ -1,6 +1,7 @@
<div class="h-svh w-svw flex flex-col items-center justify-center">
{{ requireInstall }}
{{ pwaInstalled() }}
{{ canInstall() }}
<img [src]="logo" class="w-32 animate-pulse" />
@if (requireInstall && !pwaInstalled()) {
<div class="mt-6 flex flex-col items-center gap-3">
@@ -30,7 +30,7 @@ export class PosSplashComponent {
constructor() {
effect(() => {
if (!this.requireInstall || this.pwaInstalled() || this.installPromptShown) {
this.getData();
// this.getData();
return;
}
@@ -30,9 +30,7 @@
<router-outlet></router-outlet>
}
} @else {
@defer (when !isAuth()) {
<pos-pages-layout />
}
<pos-pages-layout />
}
</div>
}