Improve place-create button

This commit is contained in:
2026-01-27 13:37:59 +07:00
parent a73e5cda6a
commit 8e3187f38d
4 changed files with 10 additions and 25 deletions

View File

@@ -244,7 +244,9 @@ export default class StorageService extends Service {
// Update both lists
this.savedPlaces = this.savedPlaces.filter((p) => p.id !== place.id);
this.placesInView = this.placesInView.filter((p) => p.id !== place.id);
if (this.placesInView.length > 0) {
this.placesInView = this.placesInView.filter((p) => p.id !== place.id);
}
}
@action