ui: dev logs

This commit is contained in:
Andras Bacsai 2022-09-28 09:19:51 +02:00
parent 57c4d33bd3
commit d44047d109

View File

@ -7,6 +7,7 @@
import Tooltip from '$lib/components/Tooltip.svelte'; import Tooltip from '$lib/components/Tooltip.svelte';
import { day } from '$lib/dayjs'; import { day } from '$lib/dayjs';
import { selectedBuildId } from '$lib/store'; import { selectedBuildId } from '$lib/store';
import { dev } from '$app/env';
let logs: any = []; let logs: any = [];
let currentStatus: any; let currentStatus: any;
@ -184,6 +185,6 @@
<div <div
class="font-mono w-full bg-coolgray-200 p-5 overflow-x-auto overflox-y-auto max-h-[80vh] rounded mb-20 flex flex-col whitespace-nowrap scrollbar-thumb-coollabs scrollbar-track-coolgray-200 scrollbar-w-1" class="font-mono w-full bg-coolgray-200 p-5 overflow-x-auto overflox-y-auto max-h-[80vh] rounded mb-20 flex flex-col whitespace-nowrap scrollbar-thumb-coollabs scrollbar-track-coolgray-200 scrollbar-w-1"
> >
No logs found yet. {dev ? 'In development, logs are shown in the console.' : 'No logs found yet.'}
</div> </div>
{/if} {/if}