Increment column count when tree is shown

Fix centering of no record message in lists when tree is enabled.
This commit is contained in:
Ben Thomson 2019-07-07 13:05:18 +08:00
parent 07a852ed8a
commit c1dcc62559
No known key found for this signature in database
GPG Key ID: B2BAFACC5ED68F87
1 changed files with 4 additions and 0 deletions

View File

@ -936,6 +936,10 @@ class Lists extends WidgetBase
$total++;
}
if ($this->showTree) {
$total++;
}
return $total;
}