Skip to content

Commit

Permalink
fix(src/modal/modal.ts): reset imageLoaded when zone changed to empty…
Browse files Browse the repository at this point in the history
… array

Signed-off-by: James Chien <james@numbersprotocol.io>
  • Loading branch information
shc261392 committed Oct 25, 2024
1 parent 2570fab commit cb5dd1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modal/modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class CaptureEyeModal extends LitElement {
if (options.copyrightZoneTitle)
this._copyrightZoneTitle = options.copyrightZoneTitle;
if (
options.engagementZones &&
options.engagementZones !== undefined &&
JSON.stringify(options.engagementZones) !==
JSON.stringify(this._engagementZones)
) {
Expand Down

0 comments on commit cb5dd1b

Please sign in to comment.