diff options
Diffstat (limited to 'src/components/ParkMap.astro')
| -rw-r--r-- | src/components/ParkMap.astro | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/components/ParkMap.astro b/src/components/ParkMap.astro index 8fdf5bf..6de92f8 100644 --- a/src/components/ParkMap.astro +++ b/src/components/ParkMap.astro @@ -274,13 +274,15 @@ if (owner && owner !== "小平市") ownerByName.set(name, owner); }); const ownerLabel = (owner: string) => - owner === "東京都" - ? "都立" - : owner.includes("UR") - ? "UR" - : owner.includes("民間") - ? "民間" - : owner; + owner.includes("都営") + ? "都営" + : owner === "東京都" + ? "都立" + : owner.includes("UR") + ? "UR" + : owner.includes("民間") + ? "民間" + : owner; const filterName = (name: string, scroll = false) => { document.dispatchEvent( |
