mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Supress output if no title is given
This should never happen, but….
This commit is contained in:
parent
1ad7bbdd0c
commit
a054cec7c9
|
@ -311,6 +311,11 @@ $('.snipe-table').bootstrapTable({
|
|||
// for custom fields in a more useful way.
|
||||
function customFieldsFormatter(value, row) {
|
||||
|
||||
|
||||
if ((!this) || (!this.title)) {
|
||||
return '';
|
||||
}
|
||||
|
||||
var field_column = this.title;
|
||||
|
||||
// Pull out any HTMl that might be passed via the presenter
|
||||
|
|
Loading…
Reference in a new issue