changelog fix

This commit is contained in:
Jan Prochazka
2025-05-03 19:03:06 +02:00
parent 2e3b770bea
commit 16990bd0c3
2 changed files with 9 additions and 4 deletions

View File

@@ -7,9 +7,10 @@
import LoadingInfo from '../elements/LoadingInfo.svelte';
import Markdown from '../elements/Markdown.svelte';
import { apiCall } from '../utility/api';
import _ from 'lodash';
let isLoading = false;
let text = null;
let text = '';
const handleLoad = async () => {
isLoading = true;
@@ -27,7 +28,7 @@
<LoadingInfo message="Loading changelog" />
{:else}
<div>
<Markdown source={text || ''} />
<Markdown source={_.isString(text) ? text: ''} />
</div>
{/if}