do not show head line of batch operations if none is allowed

This commit is contained in:
Uwe Steinmann 2024-04-30 20:45:01 +02:00
parent 594c5a5db5
commit b3633b7cf0

View File

@ -1422,7 +1422,7 @@ $(document).ready(function() {
}
/* Batch operations {{{ */
if($total)
if($settings->_batchOperations && $total)
$this->contentHeading(getMLText('batch_operation'));
if($totaldocs) {
if(in_array('export', $settings->_batchOperations)) {