@if(isset($permissions['edit']) and !empty($permissions['edit'] ))
    @canany((array) $permissions['edit'])
        <button  class="btn btn-success editor-action button-edit btn-sm ">
            <i class="fas fa-pencil-alt"></i>
        </button>
    @endcanany
@endif

@if(isset($permissions['remove']) and !empty($permissions['remove'] ))
@canany((array) $permissions['remove'])
    <button  class="btn btn-danger editor-action button-remove btn-sm">
        <i class="fas fa-trash"></i>
    </button>
@endcanany
@endif

