Skip to content

Commit

Permalink
chore: bring back treding plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Sep 4, 2022
1 parent 3d5a6b3 commit 8aa1596
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/controllers/admin/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ pluginsController.get = async function (req, res) {
const [compatible, all, trending] = await Promise.all([
getCompatiblePlugins(),
getAllPlugins(),
Promise.resolve([]),
// plugins.listTrending(),
plugins.listTrending(),
]);

const compatiblePkgNames = compatible.map(pkgData => pkgData.name);
Expand Down
2 changes: 1 addition & 1 deletion src/views/admin/extend/plugins.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{{ end }}}
<ul class="nav nav-pills">
<li>
<a href="#trending" data-toggle="tab" class="hidden">
<a href="#trending" data-toggle="tab">
[[admin/extend/plugins:trending]]
<i class="fa fa-star"></i>
</a>
Expand Down

0 comments on commit 8aa1596

Please sign in to comment.