forked from snxraven/peardock
fix
This commit is contained in:
parent
40db213f74
commit
58335ead6d
@ -226,9 +226,13 @@ deployForm.addEventListener('submit', async (e) => {
|
|||||||
closeAllModals();
|
closeAllModals();
|
||||||
// Send the deployment request
|
// Send the deployment request
|
||||||
await deployDockerContainer(deployPayload);
|
await deployDockerContainer(deployPayload);
|
||||||
// hideStatusIndicator();
|
|
||||||
// showAlert('success', successResponse.message);
|
// Wait for a specific response
|
||||||
startStatsInterval();
|
// Wait for the specific response
|
||||||
|
|
||||||
|
console.log('[INFO] Deployment success:', successResponse);
|
||||||
|
hideStatusIndicator();
|
||||||
|
showAlert('success', successResponse.message);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('[ERROR] Failed to deploy container:', error.message);
|
console.error('[ERROR] Failed to deploy container:', error.message);
|
||||||
hideStatusIndicator();
|
hideStatusIndicator();
|
||||||
|
Loading…
Reference in New Issue
Block a user