mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-12-25 01:45:59 +00:00
Do not show Empty Trash button for empty state
This commit is contained in:
parent
4d8a5c532d
commit
f1ef9662d0
@ -182,7 +182,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->state->get('filter.published') == -2 && $canDo->get('core.delete'))
|
if (!$this->isEmptyState && $this->state->get('filter.published') == -2 && $canDo->get('core.delete'))
|
||||||
{
|
{
|
||||||
$toolbar->delete('weblinks.delete')
|
$toolbar->delete('weblinks.delete')
|
||||||
->text('JTOOLBAR_EMPTY_TRASH')
|
->text('JTOOLBAR_EMPTY_TRASH')
|
||||||
|
Loading…
Reference in New Issue
Block a user