Skip to content
This repository was archived by the owner on Apr 30, 2024. It is now read-only.

Commit 7e0ea1d

Browse files
committed
Bugfix, correction to column not found exception. Issue with boolean values not being correctly tested.
1 parent dcd313a commit 7e0ea1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "laravel-vue-datatable",
3-
"version": "0.3.18",
3+
"version": "0.3.19",
44
"description": "Vue.js datatable made with Laravel and Bootstrap in mind",
55
"author": "James Dordoy <[email protected]>",
66
"homepage": "https://github.com/jamesdordoy/Laravel-Vue-Datatable",

src/components/DataTableCell.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default {
6464
columnName = this.value[this.name];
6565
}
6666
67-
if (! columnName) {
67+
if (typeof columnName === 'undefined') {
6868
throw new ColumnNotFoundException(`The column ${this.name} was not found`);
6969
}
7070

0 commit comments

Comments
 (0)