diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index fcedca3070..e4267bca35 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -120,11 +120,11 @@ $('.snipe-table').bootstrapTable({ var actions = ''; - if (row.available_actions.update === true) { + if ((row.available_actions) && (row.available_actions.update === true)) { actions += ' '; } - if (row.available_actions.delete === true) { + if ((row.available_actions) && (row.available_actions.delete === true)) { actions += '