mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 20:46:47 +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…
x
Reference in New Issue
Block a user