@teselagen/ui 0.8.6-beta.2 → 0.8.6-beta.3
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 -1
- package/index.es.js +1 -1
- package/package.json +1 -1
- package/src/DataTable/Columns.js +1 -1
package/index.cjs.js
CHANGED
|
@@ -51204,7 +51204,7 @@ const RenderColumnHeader = /* @__PURE__ */ __name(({
|
|
|
51204
51204
|
if (order2 && order2.length) {
|
|
51205
51205
|
order2.forEach((order22) => {
|
|
51206
51206
|
const orderField = order22.replace("-", "");
|
|
51207
|
-
if (orderField ===
|
|
51207
|
+
if (orderField === path2) {
|
|
51208
51208
|
if (orderField === order22) {
|
|
51209
51209
|
ordering = "asc";
|
|
51210
51210
|
} else {
|
package/index.es.js
CHANGED
|
@@ -51186,7 +51186,7 @@ const RenderColumnHeader = /* @__PURE__ */ __name(({
|
|
|
51186
51186
|
if (order2 && order2.length) {
|
|
51187
51187
|
order2.forEach((order22) => {
|
|
51188
51188
|
const orderField = order22.replace("-", "");
|
|
51189
|
-
if (orderField ===
|
|
51189
|
+
if (orderField === path2) {
|
|
51190
51190
|
if (orderField === order22) {
|
|
51191
51191
|
ordering = "asc";
|
|
51192
51192
|
} else {
|
package/package.json
CHANGED
package/src/DataTable/Columns.js
CHANGED
|
@@ -104,7 +104,7 @@ const RenderColumnHeader = ({
|
|
|
104
104
|
if (order && order.length) {
|
|
105
105
|
order.forEach(order => {
|
|
106
106
|
const orderField = order.replace("-", "");
|
|
107
|
-
if (orderField ===
|
|
107
|
+
if (orderField === path) {
|
|
108
108
|
if (orderField === order) {
|
|
109
109
|
ordering = "asc";
|
|
110
110
|
} else {
|