diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index fc9e752e51..74704a00e0 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -386,15 +386,21 @@ if ((row.available_actions) && (row.available_actions.delete === true)) { // use the asset tag if no name is provided - var name_for_box = row.name - if (row.name=='') { + + if (row.name) { + var name_for_box = row.name + } else if (row.title) { + var name_for_box = row.title + } else if (row.asset_tag) { var name_for_box = row.asset_tag } + + actions += '' + '{{ trans('general.delete') }} '; } else {