Update for refactored quick access panels (#96)

Update for refactored quick access panels (#96)

Related to https://github.com/discourse/discourse/commit/1972364d0f1b7907e726a8fce5a21a2d57f84b18

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;
         });
     },
 

GitHub sha: 7abf37cc

1 Like

This commit appears in #96 which was merged by awesomerobot.