next-helios-fe 1.8.69 → 1.8.70

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": "next-helios-fe",
3
- "version": "1.8.69",
3
+ "version": "1.8.70",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -135,7 +135,9 @@ export const Table: TableComponentProps = ({
135
135
  ?.map((item) => {
136
136
  data
137
137
  .map((dataItem) => dataItem[item.key as keyof typeof dataItem])
138
- .sort((a, b) => (a || "").localeCompare(b || ""))
138
+ .sort((a, b) =>
139
+ (a.toString() || "").localeCompare(b.toString() || "")
140
+ )
139
141
  .filter((value, index, self) => self.indexOf(value) === index)
140
142
  .map((value) => {
141
143
  if (!categoryFilter.includes(value)) {
@@ -314,7 +316,9 @@ export const Table: TableComponentProps = ({
314
316
  (dataItem) =>
315
317
  dataItem[item.key as keyof typeof dataItem]
316
318
  )
317
- ?.sort((a, b) => (a || "").localeCompare(b || ""))
319
+ ?.sort((a, b) =>
320
+ (a.toString() || "").localeCompare(b.toString() || "")
321
+ )
318
322
  ?.filter(
319
323
  (value, index, self) => self.indexOf(value) === index
320
324
  )
@@ -337,7 +341,7 @@ export const Table: TableComponentProps = ({
337
341
  <div className="pointer-events-none">
338
342
  <Form.Checkbox
339
343
  options={{ disableHover: true }}
340
- label={value}
344
+ label={value.toString()}
341
345
  checked={categoryFilter.includes(value)}
342
346
  readOnly
343
347
  />