feat: trim for aplhabet sort

This commit is contained in:
2026-04-06 13:23:25 +03:00
parent a58f438dce
commit 4b02c6e9d3
25 changed files with 73 additions and 59 deletions

View File

@@ -493,7 +493,7 @@ class CreateSightStore {
latitude: this.sight.latitude,
longitude: this.sight.longitude,
is_default_icon: this.sight.is_default_icon,
name: this.sight[primaryLanguage].name,
name: (this.sight[primaryLanguage].name || "").trim(),
address: this.sight[primaryLanguage].address,
thumbnail: this.sight.thumbnail,
icon: this.sight.icon,
@@ -521,7 +521,7 @@ class CreateSightStore {
latitude: this.sight.latitude,
longitude: this.sight.longitude,
is_default_icon: this.sight.is_default_icon,
name: this.sight[lang].name,
name: (this.sight[lang].name || "").trim(),
address: this.sight[lang].address,
thumbnail: this.sight.thumbnail,
icon: this.sight.icon,