mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Only limit length of link if specified (#3700)
This commit is contained in:
parent
2129eecf24
commit
2a846c7030
@ -258,7 +258,7 @@ function renderLink(text, url, options={}) {
|
||||
return text;
|
||||
}
|
||||
|
||||
var max_length = options.max_length || 100;
|
||||
var max_length = options.max_length || 0;
|
||||
|
||||
if (max_length > 0) {
|
||||
text = shortenString(text, {
|
||||
|
Loading…
Reference in New Issue
Block a user