diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index 765e1a34d1..0438f11914 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -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 '' + value.name + ''; } @@ -633,7 +633,6 @@ 'licenses', 'locations', 'maintenances', - 'maintenances', 'manufacturers', 'models', 'statuslabels',