mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fixed #4411 - broken activity report if purge didn’t remove relationship entries
This commit is contained in:
parent
09f20873df
commit
538757317b
|
@ -276,6 +276,14 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This just prints out the item type in the activity report
|
||||||
|
function itemTypeFormatter(value, row) {
|
||||||
|
|
||||||
|
if ((row) && (row.item) && (row.item.type)) {
|
||||||
|
return row.item.type;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function genericCheckinCheckoutFormatter(destination) {
|
function genericCheckinCheckoutFormatter(destination) {
|
||||||
return function (value,row) {
|
return function (value,row) {
|
||||||
|
|
Loading…
Reference in a new issue