mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 17:38:31 +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 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 New Issue
Block a user