mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 13:06:45 +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…
x
Reference in New Issue
Block a user