remove unused codes and update

This commit is contained in:
2026-05-10 09:44:30 +03:30
parent a138034c06
commit 048e292bdd
107 changed files with 317 additions and 17930 deletions
@@ -37,8 +37,11 @@ export class PosMainMenuSidebarComponent extends AbstractDialog {
.then((res) => res.json())
.then((data: { appData?: { appVersion?: string } }) => {
this.appVersion = data?.appData?.appVersion || this.appVersion;
console.log('appVersion:', data?.appData);
})
.catch(() => {});
.catch((err) => {
console.log('err', err);
});
this.swUpdate.versionUpdates
.pipe(filter((event): event is VersionReadyEvent => event.type === 'VERSION_READY'))