update sale invoice and payload forms of pos
This commit is contained in:
@@ -132,7 +132,6 @@ export class SharedLightBottomsheetComponent implements OnInit, OnDestroy, OnCha
|
||||
this.syncZIndex();
|
||||
}
|
||||
if (changes['visible']) {
|
||||
console.log('changed', this.visible);
|
||||
|
||||
this.toggleBodyScrollLock(this.visible);
|
||||
}
|
||||
@@ -140,8 +139,6 @@ export class SharedLightBottomsheetComponent implements OnInit, OnDestroy, OnCha
|
||||
|
||||
ngOnDestroy() {
|
||||
this.toggleBodyScrollLock(false);
|
||||
console.log('destroyed');
|
||||
|
||||
this.removeDrawer();
|
||||
}
|
||||
|
||||
@@ -171,8 +168,6 @@ export class SharedLightBottomsheetComponent implements OnInit, OnDestroy, OnCha
|
||||
}
|
||||
|
||||
private toggleBodyScrollLock(locked: boolean) {
|
||||
console.log('locked', locked);
|
||||
|
||||
const body = this.document.body;
|
||||
if (!body) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user