Merge pull request #404 from eReuse/bugfix/4074-table-row
fixing table.rows()
This commit is contained in:
commit
4bf27706db
|
@ -97,7 +97,7 @@ var _tableRows = {
|
|||
};
|
||||
var _tableRowsPage = {
|
||||
writable: true,
|
||||
value: () => table.pages[table.rows().dt.currentPage - 1]
|
||||
value: () => table.pages[table.rows.dt.currentPage - 1]
|
||||
};
|
||||
|
||||
const selectorController = action => {
|
||||
|
|
|
@ -21,7 +21,7 @@ $(document).ready(() => {
|
|||
class TableController {
|
||||
static #tableRows = () => table.activeRows.length > 0 ? table.activeRows : [];
|
||||
|
||||
static #tableRowsPage = () => table.pages[table.rows().dt.currentPage - 1];
|
||||
static #tableRowsPage = () => table.pages[table.rows.dt.currentPage - 1];
|
||||
|
||||
/**
|
||||
* @returns Selected inputs from device list
|
||||
|
|
Reference in New Issue