mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Better default renderer
This commit is contained in:
parent
25a01be995
commit
0037056ee8
@ -801,7 +801,7 @@ function renderModelData(name, model, data, parameters, options) {
|
||||
} else {
|
||||
console.log(`ERROR: Rendering not implemented for model '${model}'`);
|
||||
// Simple text rendering
|
||||
return data.id;
|
||||
return `${model} - ID ${data.id}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user