Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔙 from #717 - Street view not visible on subsequent map click #718

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Feb 6, 2025

Backport 88eaefa from #717 to v3.11.x.

Fixes reference to undefined GUI variable.

async function _clearContents() {
await Promise.allSettled((ApplicationState.contentsdata || []).map(async d => {
if (d.content instanceof Component || d.content instanceof Panel) {
await promisify(d.content.unmount());
} else {
$(GUI.getComponent('contents').parent).empty();
}
}));
ApplicationState.contentsdata.splice(0, ApplicationState.contentsdata.length);
}

Closes: #713

(cherry picked from commit 88eaefa)
@github-actions github-actions bot added the bug Something isn't working label Feb 6, 2025
@volterra79 volterra79 added this to the v3.11 milestone Feb 6, 2025
@volterra79 volterra79 merged commit 1d4d78c into v3.11.x Feb 6, 2025
@volterra79 volterra79 deleted the backport-717-to-v3.11.x branch February 6, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants