update voting

This commit is contained in:
2021-10-04 11:40:58 +02:00
parent 91958dc3ff
commit a92a2447d5
9 changed files with 105 additions and 37 deletions
+6
View File
@@ -46,6 +46,12 @@ export class UiEntry implements OnInit {
});
}
unvote() {
this.voteService.unvoteEntry(this.entry.id).subscribe((result) => {
this.change && this.change()
});
}
deleteEntry(entry: any) {
const dialogRef = this.dialog.open(ConfirmDialog, {
data: {