diff --git a/src/app/components/creator/_dialogs/comment-settings/comment-settings.component.html b/src/app/components/creator/_dialogs/comment-settings/comment-settings.component.html index 0be381e962f1d784a93c89c9029d7bcaecfe768c..78d77cbddcaac202ce8a171496c17499348cb75d 100644 --- a/src/app/components/creator/_dialogs/comment-settings/comment-settings.component.html +++ b/src/app/components/creator/_dialogs/comment-settings/comment-settings.component.html @@ -7,7 +7,7 @@ <h3><mat-slide-toggle [(ngModel)]="settingThreshold"></mat-slide-toggle></h3> </div> <div fxLayout="row" *ngIf="settingThreshold"> - <mat-slider id="commentSlider" min="-100" max="0" step="10" value="0" + <mat-slider id="commentSlider" min="-100" max="0" step="5" [(ngModel)]="commentThreshold" (input)="onSliderChange($event)"></mat-slider> <h3> {{commentThreshold | number}}</h3> </div> diff --git a/src/app/components/shared/comment-list/comment-list.component.ts b/src/app/components/shared/comment-list/comment-list.component.ts index e6c8b65ba6e5f895d9bc042227a1f42b13b122ee..9a13199020f0c47ee5a6a21fad9123d1ffa0bf0e 100644 --- a/src/app/components/shared/comment-list/comment-list.component.ts +++ b/src/app/components/shared/comment-list/comment-list.component.ts @@ -177,6 +177,7 @@ export class CommentListComponent implements OnInit { break; case 'score': this.comments[i].score = <number>value; + this.getComments(); break; case this.ack: const isNowAck = <boolean>value;