Skip to content

Commit f4fed7f

Browse files
authored
remove empty trash (#34619)
1 parent 5e3c6e1 commit f4fed7f

File tree

1 file changed

+1
-1
lines changed
  • administrator/components/com_contact/src/View/Contacts

1 file changed

+1
-1
lines changed

administrator/components/com_contact/src/View/Contacts/HtmlView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ protected function addToolbar()
207207
}
208208
}
209209

210-
if ($this->state->get('filter.published') == -2 && $canDo->get('core.delete'))
210+
if (!$this->isEmptyState && $this->state->get('filter.published') == -2 && $canDo->get('core.delete'))
211211
{
212212
$toolbar->delete('contacts.delete')
213213
->text('JTOOLBAR_EMPTY_TRASH')

0 commit comments

Comments
 (0)