mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 13:59:40 +02:00
fix(containers): persist column settings (#4234)
* feat(containers): remove ip column * fix(containers): persist column settings
This commit is contained in:
parent
aeb3bf535f
commit
68851aada4
2 changed files with 50 additions and 21 deletions
|
@ -60,10 +60,6 @@ angular.module('portainer.docker').controller('ContainersDatatableController', [
|
|||
label: 'Created',
|
||||
display: true,
|
||||
},
|
||||
ip: {
|
||||
label: 'IP Address',
|
||||
display: true,
|
||||
},
|
||||
host: {
|
||||
label: 'Host',
|
||||
display: true,
|
||||
|
@ -79,8 +75,8 @@ angular.module('portainer.docker').controller('ContainersDatatableController', [
|
|||
},
|
||||
};
|
||||
|
||||
this.onColumnVisibilityChange = function () {
|
||||
DatatableService.setColumnVisibilitySettings(this.tableKey, this.columnVisibility);
|
||||
this.onColumnVisibilityChange = function (columnVisibility) {
|
||||
DatatableService.setColumnVisibilitySettings(this.tableKey, columnVisibility);
|
||||
};
|
||||
|
||||
this.onSelectionChanged = function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue