Skip to content

Commit

Permalink
Merge pull request #70 from platforma-open/ivanov/loading-state-fix
Browse files Browse the repository at this point in the history
Fix loading/not ready state
  • Loading branch information
gramkin authored Feb 12, 2025
2 parents 2980254 + 8467cad commit 78f7ec1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/tender-tables-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@platforma-open/milaboratories.mixcr-shm-trees.ui': patch
---

Fix loading/not ready state
4 changes: 2 additions & 2 deletions ui/src/pages/MainPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ const columnDefs: ColDef<TreeResult>[] = [
const isArgsValid = computed(() => model.args.donorColumn !== undefined && model.args.datasetColumns.length > 0);
const notReady = computed(() => !isArgsValid.value);
const notReady = computed(() => !isArgsValid.value || (!model.outputs.started));
const loading = computed(() => notReady.value || (model.outputs.started && result.value === undefined));
const loading = computed(() => notReady.value || result.value === undefined);
const notReadyText = `Configure the settings and click 'Run' to see the data`;
Expand Down

0 comments on commit 78f7ec1

Please sign in to comment.