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