Show updater status banner for all statuses (#396)

Also adds updater channel to about modal
This commit is contained in:
Evan Simkowitz
2024-09-18 14:25:52 -07:00
committed by GitHub
parent 3ade98879b
commit e5e6259dec
8 changed files with 71 additions and 32 deletions
+3
View File
@@ -16,6 +16,7 @@ interface AboutModalProps {}
const AboutModal = ({}: AboutModalProps) => {
const currentDate = new Date();
const [details] = useState(() => getApi().getAboutModalDetails());
const [updaterChannel] = useState(() => getApi().getUpdaterChannel());
return (
<Modal className="about-modal" onClose={() => modalsModel.popModal()}>
@@ -32,6 +33,8 @@ const AboutModal = ({}: AboutModalProps) => {
<div className="section text-standard">
Client Version {details.version} ({isDev() ? "dev-" : ""}
{details.buildTime})
<br />
Update Channel: {updaterChannel}
</div>
<div className="section">
<LinkButton