Skip to content

Commit

Permalink
Don't show 'toggle all' checkbox if max_items is 1 (#4309)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean authored Sep 28, 2021
1 parent 0932e91 commit f54d62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/data-list/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<thead v-if="allowBulkActions || allowColumnPicker || visibleColumns.length > 1">
<tr>
<th class="checkbox-column" v-if="allowBulkActions || reorderable">
<data-list-toggle-all ref="toggleAll" v-if="allowBulkActions" />
<data-list-toggle-all ref="toggleAll" v-if="allowBulkActions && !singleSelect" />
</th>
<th
v-for="column in visibleColumns"
Expand Down

0 comments on commit f54d62e

Please sign in to comment.