make import a task of it's own

this allows us to distinguish it in the eventlog and apptask logic
This commit is contained in:
Girish Ramakrishnan
2021-05-26 09:27:15 -07:00
parent 431e2a6ab9
commit 098cff08f7
3 changed files with 10 additions and 6 deletions

View File

@@ -963,6 +963,7 @@ function run(appId, args, progressCallback, callback) {
case apps.ISTATE_PENDING_INSTALL:
case apps.ISTATE_PENDING_CLONE:
case apps.ISTATE_PENDING_RESTORE:
case apps.ISTATE_PENDING_IMPORT:
return install(app, args, progressCallback, callback);
case apps.ISTATE_PENDING_CONFIGURE:
return configure(app, args, progressCallback, callback);