mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-04 15:53:30 +03:00
remove dummy sessions
This commit is contained in:
parent
d00406e7da
commit
bed187a605
@ -1,7 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { PageData } from "./$types";
|
import type { PageData } from "./$types";
|
||||||
import { TimelineDay } from "$lib/components/timeline";
|
import { TimelineDay } from "$lib/components/timeline";
|
||||||
import { dummySessions } from "$lib/session";
|
|
||||||
|
|
||||||
export let data: PageData;
|
export let data: PageData;
|
||||||
const { project, sessions } = data;
|
const { project, sessions } = data;
|
||||||
@ -11,7 +10,7 @@
|
|||||||
{#if $project}
|
{#if $project}
|
||||||
<TimelineDay
|
<TimelineDay
|
||||||
projectId={$project?.id}
|
projectId={$project?.id}
|
||||||
sessions={Array(2).fill(dummySessions).flat().concat($sessions)}
|
sessions={$sessions}
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user