ywana-core8 0.0.563 → 0.0.566
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +6 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +6 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +1 -1
- package/src/domain/ContentEditor.js +1 -1
- package/src/widgets/kanban/Kanban.js +2 -2
package/package.json
CHANGED
@@ -388,7 +388,7 @@ export const CollectionContext = (url, field, host, page, fetching) => {
|
|
388
388
|
},
|
389
389
|
|
390
390
|
async reloadSelection() {
|
391
|
-
const result = await this.fetch(selected.id)
|
391
|
+
const result = await this.fetch(this.selected.id)
|
392
392
|
this.selected = result
|
393
393
|
},
|
394
394
|
|
@@ -429,7 +429,7 @@ export const CollectionEditor = ({ field, value = [], onChange, onReload }) => {
|
|
429
429
|
<div className='collection-editor'>
|
430
430
|
{
|
431
431
|
Renderer ?
|
432
|
-
<Renderer field={field} value={value} onRemove={remove} onChange={onChange} />
|
432
|
+
<Renderer field={field} value={value} onRemove={remove} onChange={onChange} onReload={reload} />
|
433
433
|
// : <DataTable {...table} editable={editable} />
|
434
434
|
: <TableEditor icon={"info"} title={label} data={value} schema={item} groupBy={"field1"} canDelete={true} remove={remove}/>
|
435
435
|
|
@@ -56,9 +56,9 @@ export const KanbanColumn = ({ id, accept = [], icon, title, subtitle, badge, ch
|
|
56
56
|
/**
|
57
57
|
* Kanban Card
|
58
58
|
*/
|
59
|
-
export const KanbanCard = ({
|
59
|
+
export const KanbanCard = ({ className, color, children }) => {
|
60
60
|
return (
|
61
|
-
<div className={`kanban-card ${color}`} >
|
61
|
+
<div className={`kanban-card ${className} ${color}`} >
|
62
62
|
{children}
|
63
63
|
</div>
|
64
64
|
)
|