Revert "Remove duplicated code as it is already part of utils.stateLoadCallback"

This reverts commit 395b1b6c1f.

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2021-11-14 22:38:18 +01:00
parent d141708b7e
commit 78aace3403
5 changed files with 24 additions and 0 deletions

View File

@@ -99,6 +99,11 @@ $(function () {
stateLoadCallback: function () {
var data = utils.stateLoadCallback("groups-table");
// Return if not available
if (data === null) {
return null;
}
// Reset visibility of ID column
data.columns[0].visible = false;
// Apply loaded state to table