@iapps/ngx-d2-table
Advanced tools
Comparing version 1.0.0 to 1.1.8
{ | ||
"name": "@iapps/ngx-d2-table", | ||
"version": "1.0.0", | ||
"version": "1.1.8", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -12,3 +12,2 @@ import { __decorate, __metadata } from "tslib"; | ||
sortData(tablePayload, n, isLastItem) { | ||
var _a; | ||
if (tablePayload.columns.length === 1 && isLastItem) { | ||
@@ -77,3 +76,3 @@ this.current_sorting = []; | ||
/*If a switch has been marked, make the switch and mark that a switch has been done:*/ | ||
(_a = rows[i].parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(rows[i + 1], rows[i]); | ||
rows[i].parentNode?.insertBefore(rows[i + 1], rows[i]); | ||
switching = true; | ||
@@ -80,0 +79,0 @@ // Each time a switch is done, increase this count by 1: |
Sorry, the diff of this file is not supported yet
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
0
31551
339
1