Commit 61fcebc
fix(data): stop forcing every new table to kind 'data' (CoreBunch#216)
createTable in useDataWorkspace hard-coded kind: 'data' on every
createCmsDataTable call, silently discarding the Kind selection made in
NewTableDialog. Choosing "Post type" in the dialog always produced a
plain data table with no title/slug/body/routing.
Pass the dialog's input straight through instead of overriding it.
Co-authored-by: Henrique Chiuchi <henriquechiuchi@outlook.com>1 parent 0d5e4b6 commit 61fcebc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
0 commit comments