Skip to content
Snippets Groups Projects
Commit d5be583e authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Add missing changelog configuration for dev and rec + fix wrong notification type

parent 4a4f6a9a
Branches
Tags
1 merge request!14Version 1.3.0
Pipeline #2885 passed
...@@ -13,5 +13,8 @@ ...@@ -13,5 +13,8 @@
}, },
"middlewareLegacyAuth": { "middlewareLegacyAuth": {
"url": "https://kong-dev.alpha.grandlyon.com/middleware-legacy/" "url": "https://kong-dev.alpha.grandlyon.com/middleware-legacy/"
},
"changelog": {
"url": "https://kong-dev.alpha.grandlyon.com/changelog/"
} }
} }
\ No newline at end of file
...@@ -13,5 +13,8 @@ ...@@ -13,5 +13,8 @@
}, },
"middlewareLegacyAuth": { "middlewareLegacyAuth": {
"url": "https://kong-rec.alpha.grandlyon.com/middleware-legacy/" "url": "https://kong-rec.alpha.grandlyon.com/middleware-legacy/"
},
"changelog": {
"url": "https://kong-rec.alpha.grandlyon.com/changelog/"
} }
} }
\ No newline at end of file
...@@ -57,7 +57,7 @@ export class FormatFormComponent implements OnInit { ...@@ -57,7 +57,7 @@ export class FormatFormComponent implements OnInit {
this._formatService.update(this.format).subscribe( this._formatService.update(this.format).subscribe(
(formatUpdate) => { (formatUpdate) => {
this._notificationService.notify({ this._notificationService.notify({
type: 'error', type: 'success',
message: 'Le format a bien été mis à jour.', message: 'Le format a bien été mis à jour.',
}); });
this._router.navigate(['/formats', formatUpdate.id]); this._router.navigate(['/formats', formatUpdate.id]);
...@@ -73,7 +73,7 @@ export class FormatFormComponent implements OnInit { ...@@ -73,7 +73,7 @@ export class FormatFormComponent implements OnInit {
this._formatService.create(this.format).subscribe( this._formatService.create(this.format).subscribe(
(formatCreated) => { (formatCreated) => {
this._notificationService.notify({ this._notificationService.notify({
type: 'error', type: 'success',
message: 'Le format a bien été créé.', message: 'Le format a bien été créé.',
}); });
this._router.navigate(['/formats', formatCreated.id]); this._router.navigate(['/formats', formatCreated.id]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment