Add station modal logic and station data for part of route 0210
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
const portalColour = '#475569'; // Slate grey
|
||||
|
||||
$: effectiveType = (() => {
|
||||
if (!reversed || feature.tunnelType === 'whole' || feature.tunnelType === 'mid') return feature.tunnelType;
|
||||
if (!reversed || feature.tunnelType === 'whole' || feature.tunnelType === 'mid')
|
||||
return feature.tunnelType;
|
||||
return feature.tunnelType === 'start' ? 'end' : 'start';
|
||||
})();
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user