Skip to content

Commit

Permalink
remove excess console
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Nov 17, 2024
1 parent 4d4dd10 commit 16d0f1d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/RouteScreen.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,10 @@
<div class="font-mono px-3">
<div class="text-sm font-mono text-gray-500 dark:text-gray-400">
Chateau: <span class="font-bold">{routestack.chateau_id}</span>
<br/>
<br/>
Route: <span class="font-bold">{routestack.route_id}</span>
</div>

</div>
{/if}

Expand Down
2 changes: 1 addition & 1 deletion src/components/SingleTripInfo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
stoptimes_cleaned_dataset = next_stoptimes_cleaned;
init_loaded = Date.now();
console.log('single trip rt update', stoptimes_cleaned_dataset);
//console.log('single trip rt update', stoptimes_cleaned_dataset);
}
} catch (e: any) {
console.error(e);
Expand Down
19 changes: 19 additions & 0 deletions src/components/sidebarInternals.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,31 @@
tabindex="0"
class="px-1 py-0.5 md:px-2 md:py-2 bg-gray-100 dark:bg-darksky hover:bg-blue-100 hover:dark:bg-hover text-sm md:text-base leading-snug rounded-lg"
>
{
#if show_gtfs_ids_store
}
<p>
<span class="font-mono text-xs dark:text-gray-400 text-gray-500"
>{option.data.chateau_id}</span
>
{
#if option.data.route_id

}
<span class="font-mono text-xs dark:text-gray-400 text-gray-500 ml-1 font-semibold"
>{option.data.route_id}</span
>


{/if}</p>
{/if}
{#if option.data.trip_id}
{#if option.data.route_long_name || option.data.route_short_name}
<span
class="text-md"
style={`color: ${darkMode ? lightenColour(option.data.colour) : option.data.colour}`}
>

{#if option.data.route_long_name && option.data.route_short_name && !option.data.route_long_name.includes(option.data.route_short_name)}
<span class="font-bold"
>{fixRouteName(
Expand Down

0 comments on commit 16d0f1d

Please sign in to comment.