v5.6.0-beta.1 (#116)
* Fix displaying versions in web/desktop * Update deps * Tag 5.6.0-beta.1
This commit is contained in:
parent
5eb01ac226
commit
e18a711abf
13 changed files with 635 additions and 679 deletions
|
|
@ -14,7 +14,7 @@ export const RqbitDesktop: React.FC<{
|
|||
}> = ({ version, defaultConfig, currentState }) => {
|
||||
let [configured, setConfigured] = useState<boolean>(currentState.configured);
|
||||
let [config, setConfig] = useState<RqbitDesktopConfig>(
|
||||
currentState.config ?? defaultConfig
|
||||
currentState.config ?? defaultConfig,
|
||||
);
|
||||
let [configurationOpened, setConfigurationOpened] = useState<boolean>(false);
|
||||
|
||||
|
|
@ -32,7 +32,8 @@ export const RqbitDesktop: React.FC<{
|
|||
<APIContext.Provider value={makeAPI(config)}>
|
||||
{configured && (
|
||||
<RqbitWebUI
|
||||
title={`Rqbit Desktop - v${version}`}
|
||||
title={`Rqbit Desktop`}
|
||||
version={version}
|
||||
menuButtons={[configButton]}
|
||||
></RqbitWebUI>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue