Commit b51ca2ee authored by Cédric Moreau's avatar Cédric Moreau

[enh] Retirer des images d'une annonce

parent 39fd5f00
......@@ -125,6 +125,10 @@
<ion-icon name="add"></ion-icon>
Ajouter
</button>
<button ion-button icon-left color="light" (click)="announceService.resetImages()">
<ion-icon name="remove"></ion-icon>
Retirer la dernière
</button>
</ion-card-content>
</ion-card>
......
......@@ -113,6 +113,10 @@ export class AnnounceService {
})
}
resetImages() {
this.ann.images.pop()
}
rawify(a) {
let raw = 'Version: 1\n'
raw += `Document: Announce\n`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment