Commit d34ecb8
committed
fix(model): strip clonotypeAxisId to AxisId shape
The output was returning the raw `AxisSpec` (with `annotations` and
other fields). `PlAgDataTableV2` does
isJsonEqual(colDef.context.id, props.showCellButtonForAxisId)
inside `cellRendererSelector`, and the table-side `colDef.context.id`
is run through `getAxisId` first — so it only carries
`{ type, name, domain?, contextDomain? }`. The deep-equal silently
returned false against our richer object, and the open button never
rendered on the clonotype-axis cell. No console error, no overlay —
just a row with no button.
Switch to `getAxisId(found)` from `@platforma-sdk/model` so the
returned axis matches the table-side shape byte-for-byte. The
3D-Structure-Prediction block does the same trim manually at
`ui/src/pages/MainPage.vue:248` and that's where the working pattern
came from.1 parent ad7141f commit d34ecb8
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
581 | 582 | | |
582 | 583 | | |
583 | 584 | | |
584 | | - | |
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
592 | 595 | | |
593 | 596 | | |
594 | 597 | | |
| |||
0 commit comments