mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Removed debugging
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
9c90f03142
commit
1ce95b6eac
|
@ -531,21 +531,16 @@
|
|||
|
||||
function changeLogFormatter(value) {
|
||||
|
||||
console.dir(value);
|
||||
var result = '';
|
||||
var pretty_index = '';
|
||||
|
||||
console.error('first the formatter');
|
||||
|
||||
for (var index in value) {
|
||||
|
||||
|
||||
// Check if it's a custom field
|
||||
if (index.startsWith('_snipeit_')) {
|
||||
console.error('It is a custom field');
|
||||
pretty_index = index.replace("_snipeit_", "Custom:_");
|
||||
} else {
|
||||
console.error('Not a custom field');
|
||||
pretty_index = index;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue