mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
parent
c3ce4d8b53
commit
7bd971f838
65 changed files with 115 additions and 92 deletions
|
@ -48,7 +48,7 @@ class KubernetesCreateConfigurationController {
|
|||
this.formValues.Data = KubernetesConfigurationHelper.parseYaml(this.formValues);
|
||||
}
|
||||
await this.KubernetesConfigurationService.create(this.formValues);
|
||||
this.Notifications.success('Configuration succesfully created');
|
||||
this.Notifications.success('Success', 'Configuration succesfully created');
|
||||
this.state.isEditorDirty = false;
|
||||
this.$state.go('kubernetes.configurations');
|
||||
} catch (err) {
|
||||
|
|
|
@ -95,7 +95,7 @@ class KubernetesConfigurationController {
|
|||
) {
|
||||
await this.KubernetesConfigurationService.create(this.formValues);
|
||||
await this.KubernetesConfigurationService.delete(this.configuration);
|
||||
this.Notifications.success('Configuration succesfully updated');
|
||||
this.Notifications.success('Success', 'Configuration succesfully updated');
|
||||
this.$state.go(
|
||||
'kubernetes.configurations.configuration',
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ class KubernetesConfigurationController {
|
|||
);
|
||||
} else {
|
||||
await this.KubernetesConfigurationService.update(this.formValues, this.configuration);
|
||||
this.Notifications.success('Configuration succesfully updated');
|
||||
this.Notifications.success('Success', 'Configuration succesfully updated');
|
||||
this.$state.reload(this.$state.current);
|
||||
}
|
||||
} catch (err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue