Add extra version info in pre-release versions
This commit is contained in:
parent
2bec0087a0
commit
255958f96b
1 changed files with 9 additions and 0 deletions
|
@ -13,6 +13,8 @@ import { VFC, useState } from "react";
|
||||||
import { FaFan } from "react-icons/fa";
|
import { FaFan } from "react-icons/fa";
|
||||||
import { SiOnlyfans } from "react-icons/si";
|
import { SiOnlyfans } from "react-icons/si";
|
||||||
|
|
||||||
|
import { version_usdpl } from "fantastic-wasm";
|
||||||
|
|
||||||
import * as backend from "./backend";
|
import * as backend from "./backend";
|
||||||
import {Canvas} from "./canvas";
|
import {Canvas} from "./canvas";
|
||||||
|
|
||||||
|
@ -289,6 +291,13 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({serverAPI}) => {
|
||||||
{"v" + version}
|
{"v" + version}
|
||||||
</Field>
|
</Field>
|
||||||
</PanelSectionRow>
|
</PanelSectionRow>
|
||||||
|
{ (version?.includes("alpha") || version?.includes("beta")) && <PanelSectionRow>
|
||||||
|
<Field
|
||||||
|
label="USDPL"
|
||||||
|
onClick={()=> { Navigation.NavigateToExternalWeb("https://git.ngni.us/NG-SD-Plugins/usdpl-rs"); }}>
|
||||||
|
v{version_usdpl()}
|
||||||
|
</Field>
|
||||||
|
</PanelSectionRow>}
|
||||||
</PanelSection>
|
</PanelSection>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue