Исправление некликабельной кнопки kernel update
This commit is contained in:
@@ -20,7 +20,8 @@ export function UpdateAlert(props : UpdateAlertProps) {
|
||||
updateStatus,
|
||||
downloadLastApplicationUpdate,
|
||||
restartAppForUpdateApply,
|
||||
checkForUpdates
|
||||
checkForUpdates,
|
||||
updateServer
|
||||
} = useUpdater();
|
||||
|
||||
useEffect(() => {
|
||||
@@ -34,7 +35,7 @@ export function UpdateAlert(props : UpdateAlertProps) {
|
||||
<Button h={45} leftSection={
|
||||
<IconRefresh size={15}/>
|
||||
} onClick={() => {
|
||||
window.shell.openExternal(kernelUpdateUrl);
|
||||
window.shell.openExternal(updateServer + kernelUpdateUrl);
|
||||
}} fullWidth variant={'gradient'} gradient={{ from: 'red', to: 'orange', deg: 233 }} radius={radius}>
|
||||
Kernel update required
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user