From c9d8e73ea9dfe1ba89a8d2b18a310f88e47faf9d Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov <38059171+askvortsov1@users.noreply.github.com> Date: Sun, 12 Dec 2021 14:56:21 -0500 Subject: [PATCH] Update js/src/common/models/Discussion.ts Co-authored-by: David Wheatley --- framework/core/js/src/common/models/Discussion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/src/common/models/Discussion.ts b/framework/core/js/src/common/models/Discussion.ts index 277ab0df5..6a13193e4 100644 --- a/framework/core/js/src/common/models/Discussion.ts +++ b/framework/core/js/src/common/models/Discussion.ts @@ -131,7 +131,7 @@ export default class Discussion extends Model { const items = new ItemList(); if (this.isHidden()) { - items.add('hidden', Badge.component({ type: 'hidden', icon: 'fas fa-trash', label: app.translator.trans('core.lib.badge.hidden_tooltip') })); + items.add('hidden', ); } return items;