mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-08 07:29:13 +00:00
fix: keep ordinary marker dialog close synchronous
User-Visible: no Issue: #485
This commit is contained in:
@@ -140,6 +140,10 @@ export class RadarSetupController {
|
||||
|
||||
public isActive(): boolean { return this.active !== null; }
|
||||
|
||||
public isDirty(): boolean {
|
||||
return !!this.active && (this.active.mount !== null || this.active.phase !== 'mount');
|
||||
}
|
||||
|
||||
public syncMarker(markerId: string): void {
|
||||
if (this.active && this.active.markerId !== markerId) this.reset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user