move startup logic to platform.js

This commit is contained in:
Girish Ramakrishnan
2023-08-12 19:28:07 +05:30
parent 559125cd3c
commit 070f6e5de3
7 changed files with 155 additions and 172 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ const TASK_CONCURRENCY = 3;
function waitText(lockOperation) {
if (lockOperation === locker.OP_BOX_UPDATE) return 'Waiting for Cloudron to finish updating. See the Settings view';
if (lockOperation === locker.OP_PLATFORM_START) return 'Waiting for Cloudron to initialize';
if (lockOperation === locker.OP_INFRA_START) return 'Waiting for Platform Services to start. See the Services view';
if (lockOperation === locker.OP_FULL_BACKUP) return 'Waiting for Cloudron to finish backup. See the Backups view';
return ''; // cannot happen