Correction navigation après enregistrement issue
This commit is contained in:
@@ -3,11 +3,8 @@
|
||||
<h1>Detail de l'issue</h1>
|
||||
<p>Informations de creation et de suivi de l'issue.</p>
|
||||
</div>
|
||||
<button type="button" class="edit-button" (click)="toggleEdit()">
|
||||
{{ isEditing ? 'Fermer edition' : "Editer l'issue" }}
|
||||
</button>
|
||||
@if (isEditing) {
|
||||
<button type="button" class="save-button" (click)="saveIssue()">Enregistrer</button>
|
||||
@if (!isEditing) {
|
||||
<button type="button" class="edit-button" (click)="startEdit()">Editer l'issue</button>
|
||||
}
|
||||
</header>
|
||||
|
||||
@@ -110,3 +107,11 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
@if (isEditing) {
|
||||
<div class="form-actions">
|
||||
<button type="button" class="cancel-button" (click)="cancelEdit()">Annuler</button>
|
||||
<button type="button" class="save-button" (click)="saveIssue()">Enregistrer</button>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user