From 7abf37cc784bcb51c2176bb151bf484f60c879e9 Mon Sep 17 00:00:00 2001 From: Kris Date: Mon, 10 Aug 2020 16:34:38 -0400 Subject: [PATCH] Update for refactored quick access panels (#96) Related to https://github.com/discourse/discourse/commit/1972364d0f1b7907e726a8fce5a21a2d57f84b18 --- .../discourse/widgets/quick-access-assignments.js.es6 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/assets/javascripts/discourse/widgets/quick-access-assignments.js.es6 b/assets/javascripts/discourse/widgets/quick-access-assignments.js.es6 index 271eacf..8b5b748 100644 --- a/assets/javascripts/discourse/widgets/quick-access-assignments.js.es6 +++ b/assets/javascripts/discourse/widgets/quick-access-assignments.js.es6 @@ -10,12 +10,6 @@ if (QuickAccessPanel) { buildKey: () => "quick-access-assignments", emptyStatePlaceholderItemKey: "choose_topic.none_found", - hasMore() { - // Always show the button to the assignments page. Users cannot - // unassign or reassign from the quick access panel. - return true; - }, - showAllHref() { return `${this.attrs.path}/activity/assigned`; }, @@ -29,7 +23,7 @@ if (QuickAccessPanel) { } }) .then(({ topic_list }) => { - return topic_list.topics.slice(0, this.estimateItemLimit()); + return topic_list.topics; }); },