Skip to content

Commit 78f7ec1

Browse files
authored
Merge pull request #70 from platforma-open/ivanov/loading-state-fix
Fix loading/not ready state
2 parents 2980254 + 8467cad commit 78f7ec1

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/tender-tables-travel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@platforma-open/milaboratories.mixcr-shm-trees.ui': patch
3+
---
4+
5+
Fix loading/not ready state

ui/src/pages/MainPage.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ const columnDefs: ColDef<TreeResult>[] = [
7979
8080
const isArgsValid = computed(() => model.args.donorColumn !== undefined && model.args.datasetColumns.length > 0);
8181
82-
const notReady = computed(() => !isArgsValid.value);
82+
const notReady = computed(() => !isArgsValid.value || (!model.outputs.started));
8383
84-
const loading = computed(() => notReady.value || (model.outputs.started && result.value === undefined));
84+
const loading = computed(() => notReady.value || result.value === undefined);
8585
8686
const notReadyText = `Configure the settings and click 'Run' to see the data`;
8787

0 commit comments

Comments
 (0)