This commit is contained in:
Faris Ansari 2018-07-05 13:25:02 +05:30
parent 3a050cdfb6
commit cab9fff5e6
4 changed files with 6 additions and 6 deletions

View File

@ -1001,7 +1001,7 @@ class DataManager {
this.columns = this.columns.map((column, i) => {
const cellValue = row0[i].content;
if (!column.align && cellValue && isNumeric(cellValue)) {
if (!column.align && isNumeric(cellValue)) {
column.align = 'right';
}
@ -3650,7 +3650,7 @@ class DataTable {
DataTable.instances = 0;
var name = "frappe-datatable";
var version = "0.0.8";
var version = "0.0.9";
var description = "A modern datatable library for the web";
var main = "dist/frappe-datatable.cjs.js";
var scripts = {"start":"yarn run dev","build":"rollup -c","production":"rollup -c --production","build:docs":"rollup -c --docs","dev":"rollup -c -w","cy:server":"http-server -p 8989","cy:open":"cypress open","cy:run":"cypress run","test":"start-server-and-test cy:server http://localhost:8989 cy:run"};

View File

@ -1000,7 +1000,7 @@ var DataTable = (function (Sortable,Clusterize) {
this.columns = this.columns.map((column, i) => {
const cellValue = row0[i].content;
if (!column.align && cellValue && isNumeric(cellValue)) {
if (!column.align && isNumeric(cellValue)) {
column.align = 'right';
}
@ -3649,7 +3649,7 @@ var DataTable = (function (Sortable,Clusterize) {
DataTable.instances = 0;
var name = "frappe-datatable";
var version = "0.0.8";
var version = "0.0.9";
var description = "A modern datatable library for the web";
var main = "dist/frappe-datatable.cjs.js";
var scripts = {"start":"yarn run dev","build":"rollup -c","production":"rollup -c --production","build:docs":"rollup -c --docs","dev":"rollup -c -w","cy:server":"http-server -p 8989","cy:open":"cypress open","cy:run":"cypress run","test":"start-server-and-test cy:server http://localhost:8989 cy:run"};

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "frappe-datatable",
"version": "0.0.9",
"version": "0.0.10",
"description": "A modern datatable library for the web",
"main": "dist/frappe-datatable.cjs.js",
"scripts": {