aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-16 16:09:58 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-07-24 10:58:16 +0200
commitf0c5e8b65792e9f991bf006a3e1d03cfd2c80c24 (patch)
treec3e89788fc565b033d173d3442e2064ecbbdc39b /client/src/app/+admin
parentd133f3858288b20d790e9bb57664fc6e22d9aeaf (diff)
downloadPeerTube-f0c5e8b65792e9f991bf006a3e1d03cfd2c80c24.tar.gz
PeerTube-f0c5e8b65792e9f991bf006a3e1d03cfd2c80c24.tar.zst
PeerTube-f0c5e8b65792e9f991bf006a3e1d03cfd2c80c24.zip
Add client helpers to plugins
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r--client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts
index 0058fa691..a6fbeed84 100644
--- a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts
+++ b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts
@@ -92,7 +92,12 @@ export class PluginSearchComponent implements OnInit {
92 this.pagination.totalItems = res.total 92 this.pagination.totalItems = res.total
93 }, 93 },
94 94
95 err => this.notifier.error(err.message) 95 err => {
96 console.error(err)
97
98 const message = this.i18n('The plugin index is not available. Please retry later.')
99 this.notifier.error(message)
100 }
96 ) 101 )
97 } 102 }
98 103