@trackunit/react-table-helpers 0.0.112 → 0.0.118
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/index.cjs.js +1 -2
- package/index.esm.js +1 -2
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var i18nLibraryTranslation = require('@trackunit/i18n-library-translation');
|
|
7
|
-
var irisAppRuntimeCoreApi = require('@trackunit/iris-app-runtime-core-api');
|
|
8
7
|
var reactTable = require('@trackunit/react-table');
|
|
9
8
|
var react = require('react');
|
|
10
9
|
var irisAppRuntimeCore = require('@trackunit/iris-app-runtime-core');
|
|
@@ -120,7 +119,7 @@ const useColumnDefinitionsFromCustomFieldDefinition = ({ customFieldDefinitions,
|
|
|
120
119
|
}, {
|
|
121
120
|
header: customFieldDefinition.node.title,
|
|
122
121
|
id: customFieldDefinition.node.definitionId,
|
|
123
|
-
enableSorting: customFieldDefinition.node.type !==
|
|
122
|
+
enableSorting: customFieldDefinition.node.type !== "DROPDOWN",
|
|
124
123
|
meta: {
|
|
125
124
|
hiddenByDefault: true,
|
|
126
125
|
},
|
package/index.esm.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { registerTranslations } from '@trackunit/i18n-library-translation';
|
|
3
|
-
import { CustomFieldType } from '@trackunit/iris-app-runtime-core-api';
|
|
4
3
|
import { createColumnHelper } from '@trackunit/react-table';
|
|
5
4
|
import { useMemo } from 'react';
|
|
6
5
|
import { CustomFieldRuntime } from '@trackunit/iris-app-runtime-core';
|
|
@@ -116,7 +115,7 @@ const useColumnDefinitionsFromCustomFieldDefinition = ({ customFieldDefinitions,
|
|
|
116
115
|
}, {
|
|
117
116
|
header: customFieldDefinition.node.title,
|
|
118
117
|
id: customFieldDefinition.node.definitionId,
|
|
119
|
-
enableSorting: customFieldDefinition.node.type !==
|
|
118
|
+
enableSorting: customFieldDefinition.node.type !== "DROPDOWN",
|
|
120
119
|
meta: {
|
|
121
120
|
hiddenByDefault: true,
|
|
122
121
|
},
|