show API select/delete button by condition