Fix build error.

This commit is contained in:
Kavin 2022-06-27 05:26:47 +01:00
parent 291a0373b7
commit 1d47af14ff
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -606,7 +606,7 @@ export default {
return;
}
markers?.style.background = `linear-gradient(${array.join(",")})`;
if (markers) markers.style.background = `linear-gradient(${array.join(",")})`;
},
destroy(hotkeys) {
if (this.$ui) {