1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 06:49:40 +02:00

fix(apps): persist table settings [r8s-120] (#10)

Co-authored-by: testA113 <aliharriss1995@gmail.com>
This commit is contained in:
Yajith Dayarathna 2024-10-14 11:27:04 +13:00 committed by GitHub
parent fd0bc652a9
commit c88382ec1f
8 changed files with 13 additions and 86 deletions

View file

@ -42,7 +42,6 @@ class KubernetesApplicationsController {
this.removeStacksActionAsync = this.removeStacksActionAsync.bind(this);
this.onPublishingModeClick = this.onPublishingModeClick.bind(this);
this.onChangeNamespaceDropdown = this.onChangeNamespaceDropdown.bind(this);
this.setSystemResources = this.setSystemResources.bind(this);
}
selectTab(index) {
@ -133,12 +132,6 @@ class KubernetesApplicationsController {
});
}
setSystemResources(flag) {
return this.$scope.$applyAsync(() => {
this.state.isSystemResources = flag;
});
}
async onInit() {
this.state = {
activeTab: this.LocalStorage.getActiveTab('applications'),
@ -150,7 +143,6 @@ class KubernetesApplicationsController {
ports: [],
namespaces: [],
namespaceName: '',
isSystemResources: undefined,
};
this.deploymentOptions = await getDeploymentOptions();