← All changes
|
js/components/common/ListTable/TableNavigation.tsx
+1
-1
3.10.0
→
4.0.0-beta.2
View file →
| @@ -124,9 +124,9 @@ | ||
| 124 | 124 | id={`doaction${'bottom' === which ? '-2' : ''}`} |
| 125 | 125 | name="bulk_action" |
| 126 | 126 | text={__('Apply', 'code-snippets')} |
| 127 | 127 | className="action" |
| 128 | - disabled={!!disabled || isPerformingAction || !selectedAction} | |
| 128 | + disabled={!!disabled || isPerformingAction || !selectedAction || 0 === selected.size} | |
| 129 | 129 | onClick={handleSubmit} |
| 130 | 130 | /> |
| 131 | 131 | |
| 132 | 132 | {isPerformingAction ? <Spinner /> : null} |