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) {