1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 00:52:43 +01:00

ui(server): fix reinstall_failed conflict state

This commit is contained in:
Matthew Penner 2023-01-17 15:21:31 -07:00
parent c74314d2ab
commit fbdac5b63f
No known key found for this signature in database
2 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,10 @@
export type ServerStatus = 'installing' | 'install_failed' | 'suspended' | 'restoring_backup' | null;
export type ServerStatus =
| 'installing'
| 'install_failed'
| 'reinstall_failed'
| 'suspended'
| 'restoring_backup'
| null;
export interface ServerBackup {
uuid: string;

View File

@ -12,7 +12,7 @@ export default () => {
(state) => state.server.data?.isNodeUnderMaintenance || false
);
return status === 'installing' || status === 'install_failed' ? (
return status === 'installing' || status === 'install_failed' || status === 'reinstall_failed' ? (
<ScreenBlock
title={'Running Installer'}
image={ServerInstallSvg}
@ -36,7 +36,7 @@ export default () => {
image={ServerRestoreSvg}
message={
isTransferring
? 'Your server is being transfered to a new node, please check back later.'
? 'Your server is being transferred to a new node, please check back later.'
: 'Your server is currently being restored from a backup, please check back in a few minutes.'
}
/>