ywana-core8 0.0.514 → 0.0.515
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 +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +1 -0
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +1 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +3 -1
package/package.json
CHANGED
package/src/html/table.js
CHANGED
@@ -191,8 +191,10 @@ const DataTableCell = ({ row, column, cell, editable }) => {
|
|
191
191
|
* @returns
|
192
192
|
*/
|
193
193
|
const EntityCellViewer = ({ id, item, value }) => {
|
194
|
-
const fields = Object.values(item).filter(field => field.column === true)
|
195
194
|
|
195
|
+
const fields = Object.values(item).filter(field => field.column === true)
|
196
|
+
const locale = window.navigator.userLanguage || window.navigator.language;
|
197
|
+
|
196
198
|
return fields.map(field => {
|
197
199
|
|
198
200
|
let text = value[field.id]
|