File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/routes/v2/projects/[projectId]/workflows/[workflowId] Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 111111 /** @type {import('fractal-components/types/api').ApplyWorkflowV2|undefined} */
112112 let selectedSubmittedJob;
113113
114- let mounted = false ;
115-
116114 $: updatableWorkflowList = workflow .task_list || [];
117115
118116 $: sortedDatasets = datasets .sort ((a , b ) => (a .name < b .name ? - 1 : a .name > b .name ? 1 : 0 ));
122120 : 3000 ;
123121
124122 onMount (async () => {
125- mounted = false ;
126123 selectedDatasetId = getSelectedWorkflowDataset (workflow, datasets, defaultDatasetId);
127124 await loadJobsStatus ();
128125 await checkNewVersions ();
129- mounted = true ;
130126 });
131127
132128 beforeNavigate ((navigation ) => {
815811
816812 {#if workflow .task_list .length == 0 }
817813 < p class = " text-center mt-3" > No workflow tasks yet, add one.< / p>
818- {: else if mounted }
814+ {: else }
819815 < div class = " list-group list-group-flush" data- testid= " workflow-tasks-list" >
820816 {#each workflow .task_list as workflowTask}
821817 < button
You can’t perform that action at this time.
0 commit comments