We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
refactor to use Array.prototype.find instead.
Array.prototype.find
https://github.com/ResonantGeoData/RGD-Vue/blob/51f891a0fba0652ddadedd8ef421765a2a239000/src/store/search.ts#L142-L145
`if (region) { drawerContents.value = regionsList.value.filter( (entry) => entry.id === spatialId, )[0].properties;`
refactor to use delete visibleFootprints.value[key] instead
delete visibleFootprints.value[key]
https://github.com/ResonantGeoData/RGD-Vue/blob/51f891a0fba0652ddadedd8ef421765a2a239000/src/store/cesium/footprints.ts#L32-L37
if (visibleFootprints.value[key]) { visibleFootprints.value = Object.fromEntries( Object.entries(visibleFootprints.value).filter(([k]) => k !== key), ); } };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
refactor to use
Array.prototype.find
instead.https://github.com/ResonantGeoData/RGD-Vue/blob/51f891a0fba0652ddadedd8ef421765a2a239000/src/store/search.ts#L142-L145
refactor to use
delete visibleFootprints.value[key]
insteadhttps://github.com/ResonantGeoData/RGD-Vue/blob/51f891a0fba0652ddadedd8ef421765a2a239000/src/store/cesium/footprints.ts#L32-L37
if (visibleFootprints.value[key]) { visibleFootprints.value = Object.fromEntries( Object.entries(visibleFootprints.value).filter(([k]) => k !== key), ); } };
The text was updated successfully, but these errors were encountered: