Skip to content

Commit

Permalink
chore: add ReleaseNotes type
Browse files Browse the repository at this point in the history
Signed-off-by: Sonia Sandler <[email protected]>
  • Loading branch information
SoniaSandler committed Oct 3, 2024
1 parent 7ff0e8e commit f4aebf5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/renderer/src/lib/dashboard/ReleaseNotesBox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,16 @@ import { faCircleArrowUp } from '@fortawesome/free-solid-svg-icons';
import { Button, CloseButton, Link } from '@podman-desktop/ui-svelte';
import { onDestroy, onMount } from 'svelte';
import type { ReleaseNotes } from '/@api/release-notes-info';
import Markdown from '../markdown/Markdown.svelte';
let showBanner = false;
let notesAvailable = false;
let updateAvilable = false;
let notesURL: string;
let currentVersion: string;
let notesInfo: NotesInfo | undefined;
interface NotesInfo {
image: string;
blog: string;
title: string;
summary: string;
}
let notesInfo: ReleaseNotes | undefined;
const receiveShowReleaseNotes = window.events?.receive('show-release-notes', () => {
showBanner = true;
});
Expand Down

0 comments on commit f4aebf5

Please sign in to comment.