Commit 2cf099d7efdc4f263c0df31746cc85b14be8ec08
1 parent
1aa2ffcc
Exists in
master
and in
26 other branches
Fix warning in discussion block
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/plugins/comment_paragraph/block/discussion/discussion-block.component.ts
... | ... | @@ -23,7 +23,7 @@ export class DiscussionBlockComponent { |
23 | 23 | this.documents = []; |
24 | 24 | |
25 | 25 | let limit = ((this.block && this.block.settings) ? this.block.settings.limit : null) || 50; |
26 | - let params = { content_type: 'CommentParagraphPlugin::Discussion', per_page: limit, order: 'start_date DESC' }; | |
26 | + let params: any = { content_type: 'CommentParagraphPlugin::Discussion', per_page: limit, order: 'start_date DESC' }; | |
27 | 27 | let now = new Date().toISOString(); |
28 | 28 | switch (this.block.settings['discussion_status']) { |
29 | 29 | case 0: | ... | ... |