Update location logic to handle TIPLOC as a fallback to CRS
This commit is contained in:
@@ -82,7 +82,8 @@
|
|||||||
selectedIndex = -1;
|
selectedIndex = -1;
|
||||||
value = '';
|
value = '';
|
||||||
console.log('Selected Location: ', JSON.stringify(loc));
|
console.log('Selected Location: ', JSON.stringify(loc));
|
||||||
goto(`/board?stn=${loc.c.toLowerCase()}`);
|
const queryString = loc.c || loc.t
|
||||||
|
goto(`/board?loc=${queryString.toLowerCase()}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleKey(e: KeyboardEvent) {
|
function handleKey(e: KeyboardEvent) {
|
||||||
|
|||||||
Reference in New Issue
Block a user