mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 05:49:40 +02:00
feat(datatables): auto refresh on datatables (#2974)
* feat(datatables): auto refresh on datatables * feat(datatables): auto refresh implementation on docker related resources
This commit is contained in:
parent
cc487ae68a
commit
03c82cac69
51 changed files with 577 additions and 29 deletions
|
@ -15,8 +15,7 @@ function ($scope, $controller, DatatableService, EndpointProvider) {
|
|||
publicURL: EndpointProvider.endpointPublicURL()
|
||||
});
|
||||
|
||||
this.settings = {
|
||||
open: false,
|
||||
this.settings = Object.assign(this.settings, {
|
||||
truncateContainerName: true,
|
||||
containerNameTruncateSize: 32,
|
||||
showQuickActionStats: true,
|
||||
|
@ -24,7 +23,7 @@ function ($scope, $controller, DatatableService, EndpointProvider) {
|
|||
showQuickActionExec: true,
|
||||
showQuickActionInspect: true,
|
||||
showQuickActionAttach: false
|
||||
};
|
||||
});
|
||||
|
||||
this.filters = {
|
||||
state: {
|
||||
|
@ -197,6 +196,7 @@ function ($scope, $controller, DatatableService, EndpointProvider) {
|
|||
this.settings = storedSettings;
|
||||
this.settings.open = false;
|
||||
}
|
||||
this.onSettingsRepeaterChange();
|
||||
|
||||
var storedColumnVisibility = DatatableService.getColumnVisibilitySettings(this.tableKey);
|
||||
if (storedColumnVisibility !== null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue