A free open source IT asset/license management system
Fixed double-edit button
snipea017fabf4eda
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.phpindex 8978b66da7..605960450f 100644--- a/resources/views/partials/bootstrap-table.blade.php+++ b/resources/views/partials/bootstrap-table.blade.php@@ -2665,17 +2665,13 @@}if ((row.available_actions) && (row.available_actions.update === true)) {- actions += '<a href="{{ config('app.url') }}/' + dest + '/' + row.id + '/edit" class="actions btn btn-sm btn-warning hidden-print" data-tooltip="true" title="{{ trans('general.update') }}"><x-icon type="edit" class="fa-fw" /><span class="sr-only">{{ trans('general.update') }}</span></a> ';// use the asset tag if no name is provided-if (row.name) {var name_for_box = row.name} else if (row.asset_tag) {var name_for_box = row.asset_tag}--actions += '<a href="{{ config('app.url') }}/' + dest + '/' + row.id + '" '+ ' class="actions btn btn-danger btn-sm delete-asset hidden-print" data-tooltip="true" '+ ' data-toggle="modal" data-icon="fa-trash"'