Update for refactored quick access panels (#96)

Related to 1972364d0f
This commit is contained in:
Kris 2020-08-10 16:34:38 -04:00 committed by GitHub
parent baa9f5bc82
commit 7abf37cc78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 7 deletions

View File

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