Fixed #17562 - bootstrap table formater undefined

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2025-08-11 11:18:20 +01:00
parent 5840ef1c6f
commit c18a3e4266

View File

@@ -368,10 +368,10 @@
// Add some overrides for any funny urls we have
var dest = destination;
var polymorphicItemFormatterDest;
if (destination=='fieldsets') {
var polymorphicItemFormatterDest = '';
if (destination == 'fieldsets') {
var polymorphicItemFormatterDest = 'fields/';
}
}
return '<nobr><a href="{{ config('app.url') }}/' + polymorphicItemFormatterDest + dest + '/' + value.id + '">' + value.name + '</a></span>';
}
@@ -633,7 +633,6 @@
'licenses',
'locations',
'maintenances',
'maintenances',
'manufacturers',
'models',
'statuslabels',