mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 15:25:22 +02:00
parent
c3ce4d8b53
commit
7bd971f838
65 changed files with 115 additions and 92 deletions
|
@ -139,7 +139,7 @@ class CreateConfigController {
|
|||
const resourceControl = data.Portainer.ResourceControl;
|
||||
const userId = userDetails.ID;
|
||||
await this.ResourceControlService.applyResourceControl(userId, accessControlData, resourceControl);
|
||||
this.Notifications.success('Config successfully created');
|
||||
this.Notifications.success('Success', 'Configuration successfully created');
|
||||
this.state.isEditorDirty = false;
|
||||
this.$state.go('docker.configs', {}, { reload: true });
|
||||
} catch (err) {
|
||||
|
|
|
@ -16,7 +16,7 @@ angular.module('portainer.docker').controller('ConfigController', [
|
|||
$scope.removeConfig = function removeConfig(configId) {
|
||||
ConfigService.remove(configId)
|
||||
.then(function success() {
|
||||
Notifications.success('Config successfully removed');
|
||||
Notifications.success('Success', 'Configuration successfully removed');
|
||||
$state.go('docker.configs', {});
|
||||
})
|
||||
.catch(function error(err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue