web/ChangelogEntry: expect date to always exist
This commit is contained in:
parent
534af330ce
commit
4fab0d3fb8
2 changed files with 2 additions and 4 deletions
|
@ -27,9 +27,7 @@
|
|||
<div id="changelog-header" class:no-padding={!banner}>
|
||||
<div class="changelog-info">
|
||||
<div class="changelog-version">{version}</div>
|
||||
{#if date}
|
||||
<div class="changelog-date">{formatDate(date)}</div>
|
||||
{/if}
|
||||
<div class="changelog-date">{formatDate(date)}</div>
|
||||
</div>
|
||||
<h1 class="changelog-title">{title}</h1>
|
||||
</div>
|
||||
|
|
|
@ -2,7 +2,7 @@ import type { SvelteComponent } from "svelte"
|
|||
|
||||
export interface ChangelogMetadata {
|
||||
title: string,
|
||||
date: string
|
||||
date: string,
|
||||
banner?: {
|
||||
file: string,
|
||||
alt: string
|
||||
|
|
Loading…
Reference in a new issue