mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-29 01:48:28 +00:00
web/ChangelogEntry: expect date to always exist
This commit is contained in:
parent
534af330ce
commit
4fab0d3fb8
@ -27,9 +27,7 @@
|
|||||||
<div id="changelog-header" class:no-padding={!banner}>
|
<div id="changelog-header" class:no-padding={!banner}>
|
||||||
<div class="changelog-info">
|
<div class="changelog-info">
|
||||||
<div class="changelog-version">{version}</div>
|
<div class="changelog-version">{version}</div>
|
||||||
{#if date}
|
|
||||||
<div class="changelog-date">{formatDate(date)}</div>
|
<div class="changelog-date">{formatDate(date)}</div>
|
||||||
{/if}
|
|
||||||
</div>
|
</div>
|
||||||
<h1 class="changelog-title">{title}</h1>
|
<h1 class="changelog-title">{title}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@ import type { SvelteComponent } from "svelte"
|
|||||||
|
|
||||||
export interface ChangelogMetadata {
|
export interface ChangelogMetadata {
|
||||||
title: string,
|
title: string,
|
||||||
date: string
|
date: string,
|
||||||
banner?: {
|
banner?: {
|
||||||
file: string,
|
file: string,
|
||||||
alt: string
|
alt: string
|
||||||
|
Loading…
Reference in New Issue
Block a user