mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 20:45:44 +00:00
Shorten displayed linked by default (#4951)
This commit is contained in:
@ -403,7 +403,7 @@ function renderLink(text, url, options={}) {
|
||||
return text;
|
||||
}
|
||||
|
||||
var max_length = options.max_length || 0;
|
||||
var max_length = options.max_length || user_settings.TABLE_STRING_MAX_LENGTH || 100;
|
||||
|
||||
if (max_length > 0) {
|
||||
text = shortenString(text, {
|
||||
|
Reference in New Issue
Block a user