1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-01 20:05:23 +02:00

feat(frontend): upgrade frontend dependencies DTD-11 (#6244)

* upgrade webpack, eslint, storybook and other dependencies
This commit is contained in:
Richard Wei 2021-12-17 07:52:54 +13:00 committed by GitHub
parent 730fdb160d
commit 187b66f5cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 3444 additions and 4460 deletions

View file

@ -353,11 +353,9 @@ angular.module('portainer.docker').controller('ServiceController', [
const registryChanged = $scope.initialRegistryID != newRegistryID;
if ($scope.WebhookExists && registryChanged) {
WebhookService.updateServiceWebhook($scope.webhookID, newRegistryID)
.then(function success() {})
.catch(function error(err) {
Notifications.error('Failure', err, 'Unable to update webhook');
});
WebhookService.updateServiceWebhook($scope.webhookID, newRegistryID).catch(function error(err) {
Notifications.error('Failure', err, 'Unable to update webhook');
});
}
};