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

Small bug fixes

parent 6782bcb4
Branches
No related tags found
1 merge request!14Version 1.3.0
Pipeline #2874 passed
...@@ -32,10 +32,11 @@ ...@@ -32,10 +32,11 @@
<span class="has-text-weight-bold">Date de dernière mise à jour: </span> <span class="has-text-weight-bold">Date de dernière mise à jour: </span>
<span>{{reuse.updateDate}}</span> <span>{{reuse.updateDate}}</span>
</p> </p>
<div>
<p><span class="has-text-weight-bold">Statut:</span> {{ reuse.published ? 'Publié' : 'Brouillon' }} <p>
</p> <span class="has-text-weight-bold">Statut:</span> {{ reuse.published ? 'Publié' : 'Brouillon' }}
</div> </p>
<p> <p>
<span class="has-text-weight-bold">Site web: </span> <span class="has-text-weight-bold">Site web: </span>
<span><a [href]="reuse.website">{{reuse.website}}</a></span> <span><a [href]="reuse.website">{{reuse.website}}</a></span>
......
...@@ -91,7 +91,7 @@ export class ReuseFormComponent implements OnInit { ...@@ -91,7 +91,7 @@ export class ReuseFormComponent implements OnInit {
message: 'La réutilisation a été mise à jour avec succès.', message: 'La réutilisation a été mise à jour avec succès.',
type: 'success', type: 'success',
}); });
this._router.navigate(['/reutilisations', reuseUpdated._id]); this._router.navigate(['/reutilisations', this.reuse._id]);
}, },
(err) => { (err) => {
this._notificationService.notify({ this._notificationService.notify({
...@@ -107,7 +107,7 @@ export class ReuseFormComponent implements OnInit { ...@@ -107,7 +107,7 @@ export class ReuseFormComponent implements OnInit {
message: 'La réutilisation a été mise à jour avec succès.', message: 'La réutilisation a été mise à jour avec succès.',
type: 'success', type: 'success',
}); });
this._router.navigate(['/reutilisations', reuseUpdated._id]); this._router.navigate(['/reutilisations', this.reuse._id]);
}, },
() => { () => {
this._notificationService.notify({ this._notificationService.notify({
......
.has-text-centered {
justify-content: center;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment