[gnome-maps] placeFormatter: Use "name" as title for town results
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] placeFormatter: Use "name" as title for town results
- Date: Thu, 18 Jun 2020 20:44:35 +0000 (UTC)
commit 5743241ade6f0695e3743e9bb4eea8ef96c84d4f
Author: Marcus Lundblad <ml update uu se>
Date: Thu Jun 18 22:43:08 2020 +0200
placeFormatter: Use "name" as title for town results
Fixes #276
src/placeFormatter.js | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/placeFormatter.js b/src/placeFormatter.js
index 49291ec3..58dff6d1 100644
--- a/src/placeFormatter.js
+++ b/src/placeFormatter.js
@@ -85,9 +85,6 @@ var PlaceFormatter = class PlaceFormatter {
break;
case Geocode.PlaceType.TOWN:
- if (this._place.town)
- this._titleProperty = 'town';
-
if (this._place.county)
this._addRow(['county']);
else if (this._place.state)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]