mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 02:55:41 +00:00
Better default renderer
This commit is contained in:
@ -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}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user