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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.563",
3
+ "version": "0.0.566",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -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 = ({ id, type, color, children }) => {
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
  )