diff --git a/dashboard-ui/scripts/plugincatalogpage.js b/dashboard-ui/scripts/plugincatalogpage.js index 6f82d0eba4..c36479efae 100644 --- a/dashboard-ui/scripts/plugincatalogpage.js +++ b/dashboard-ui/scripts/plugincatalogpage.js @@ -42,6 +42,12 @@ } } + if (options.targetSystem) { + if (p.targetSystem != options.targetSystem) { + return false; + } + } + return p.type == "UserInstalled"; }).sort(function (a, b) { diff --git a/dashboard-ui/scripts/syncservices.js b/dashboard-ui/scripts/syncservices.js index 20e05e050e..2458ad52fd 100644 --- a/dashboard-ui/scripts/syncservices.js +++ b/dashboard-ui/scripts/syncservices.js @@ -40,7 +40,8 @@ installedPlugins: installedPlugins, categories: ['Sync'], showCategory: false, - context: 'sync' + context: 'sync', + targetSystem: 'Server' }); }