mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 18:31:16 +00:00
Render link rather than just text
This commit is contained in:
1 parent
bf3b5bdd7f
commit
1a07ae0936
1 file changed
+3
-1
@@ -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