|
@@ -454,7 +454,7 @@ $.BootstrapTable = class extends $.BootstrapTable {
|
|
|
|
|
|
|
|
if (columnsCookie) {
|
|
if (columnsCookie) {
|
|
|
for (const column of this.columns) {
|
|
for (const column of this.columns) {
|
|
|
- column.visible = columnsCookie.filter((c) => { return c.field === column.field }) || !column.switchable
|
|
|
|
|
|
|
+ column.visible = columnsCookie.filter((c) => { return c.field === column.field }).length > 0 || !column.switchable
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|