mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 05:25:42 +00:00
Render link rather than just text
This commit is contained in:
@ -608,7 +608,9 @@ function loadPartTestTemplateTable(table, options) {
|
||||
|
||||
return html;
|
||||
} else {
|
||||
return '{% trans "This test is defined for a parent part" %}';
|
||||
var text = '{% trans "This test is defined for a parent part" %}';
|
||||
|
||||
return renderLink(text, `/part/${row.part}/tests/`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user