Small fixes to link, shows own reviews

This commit is contained in:
Pieter Vander Vennet 2020-12-11 16:29:51 +01:00
parent ef70c17393
commit 0855f46c49
7 changed files with 85 additions and 62 deletions

View file

@ -27,7 +27,7 @@ export default class ReviewForm extends InputElement<Review> {
this.userDetails = userDetails;
const t = Translations.t.reviews;
this._value = new UIEventSource({
made_by_user: false,
made_by_user: new UIEventSource<boolean>(true),
rating: undefined,
comment: undefined,
author: userDetails.data.name,