Commit ee05bcc
committed
Fix DM screen crash: guard hk-pane slot passthrough scope
hk-pane forwards its slots through q-scroll-area with
v-bind="scope". When a forwarded slot is invoked without props,
scope is undefined and guardReactiveProps(undefined) returns null,
so renderSlot reads null.key and the whole campaign DM screen dies
with 'Cannot read properties of null (reading key)'. Bind scope || {}
like hk-select already does.
Not caught by the route audits because hk-pane only renders on the
auth-gated Run Campaign / Run Encounter screens.
https://claude.ai/code/session_013pNZHMppjJ2iGVjxjHKkpQ1 parent b126e9e commit ee05bcc
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
0 commit comments