mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Fix: Oops
This commit is contained in:
parent
6b2fe582ca
commit
cde2ba7720
|
@ -665,7 +665,7 @@
|
||||||
|
|
||||||
function labelPerPageFormatter(value, row, index, field) {
|
function labelPerPageFormatter(value, row, index, field) {
|
||||||
if (row) {
|
if (row) {
|
||||||
if (row.sheet_labels) { return 1; }
|
if (!row.hasOwnProperty('sheet_info')) { return 1; }
|
||||||
else { return row.sheet_info.labels_per_page; }
|
else { return row.sheet_info.labels_per_page; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue