forked from enviPath/enviPy
[Fix] Fix Prediction Spinner, ensure proper pathway status is set
Fixes Spinner and status message display on pathway page Reviewed-on: enviPath/enviPy#291 Co-authored-by: Tobias O <tobias.olenyi@envipath.com> Co-committed-by: Tobias O <tobias.olenyi@envipath.com>
This commit is contained in:
@ -1451,6 +1451,7 @@ def create_pathway(
|
||||
setting = SettingManager.get_setting_by_url(request.user, pw.selectedSetting)
|
||||
|
||||
new_pw.setting = setting
|
||||
new_pw.kv.update({"status": "running"})
|
||||
new_pw.save()
|
||||
|
||||
from .tasks import dispatch, predict
|
||||
|
||||
Reference in New Issue
Block a user