mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 02:44:02 +00:00
style: format Location component boundary
This commit is contained in:
1 parent
ea77b49482
commit
82d922ae87
7 files changed
+557
-275
No files matched your search
@@ -55,7 +55,10 @@ export function locationMiniStatus({
|
||||
// The remaining address is the place's context ("Japan", "Minato City,
|
||||
// Tokyo, Japan"); the readout is ellipsised in CSS, so a long tail is
|
||||
// safe. A one-segment geocode ("Japan") has no context to show.
|
||||
poi: segments.length > 1 ? segments.slice(1).join(', ') : 'Searched location',
|
||||
poi:
|
||||
segments.length > 1
|
||||
? segments.slice(1).join(', ')
|
||||
: 'Searched location',
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user