Fix lint errors
All checks were successful
CI / Lint (pull_request) Successful in 21s
CI / Test (pull_request) Successful in 34s

This commit is contained in:
2026-03-13 13:51:29 +04:00
parent b2220b8310
commit 990f3afa88
4 changed files with 15 additions and 11 deletions

View File

@@ -60,7 +60,7 @@ export default class MapComponent extends Component {
// Create a vector source and layer for bookmarks
this.bookmarkSource = new VectorSource();
const bookmarkStyleFunction = (feature) => {
const originalPlace = feature.get('originalPlace');
let color = '#ffcc33'; // Default Yellow
@@ -71,7 +71,7 @@ export default class MapComponent extends Component {
originalPlace._listIds.length > 0
) {
// Find the first list color
// We need access to storage.lists.
// We need access to storage.lists.
// Since this is inside setupMap, 'this' refers to the component instance.
const firstListId = originalPlace._listIds[0];
const list = this.storage.lists.find((l) => l.id === firstListId);