mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
Fix timestamp field name in changelogs.json and ChangelogVersion interface
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ export const ChangelogModal: ModalComponent<void, ChangelogVersion> = ({ resolve
|
||||
const openTwitter = () => linkOpener.open("https://twitter.com/BSManager_");
|
||||
const openSupportPage = () => linkOpener.open("https://www.patreon.com/bsmanager");
|
||||
const openDiscord = () => linkOpener.open("https://discord.gg/uSqbHVpKdV");
|
||||
const date = changelog?.timestampPublished ? new Date(changelog.timestampPublished * 1000).toLocaleDateString() : '';
|
||||
const date = changelog?.timestamp ? new Date(changelog.timestamp * 1000).toLocaleDateString() : '';
|
||||
|
||||
return (
|
||||
<form className="w-[350px] text-gray-800 dark:text-gray-200 h-[70vh] flex flex-col justify-between">
|
||||
|
||||
@@ -13,7 +13,7 @@ export interface Changelog {
|
||||
export interface ChangelogVersion {
|
||||
htmlBody: string;
|
||||
title: string;
|
||||
timestampPublished: number;
|
||||
timestamp : number;
|
||||
version: string;
|
||||
}
|
||||
export class AutoUpdaterService {
|
||||
|
||||
Reference in New Issue
Block a user