From 7f684a4e0f34b6230fc4a8f491a9edd0d2742cff Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Feb 2019 14:10:23 +0100 Subject: [PATCH] Hide instances displaying nsfw from reg table --- app/components/pages/Home.vue | 6 +++--- app/components/partials/Header.vue | 2 +- app/components/partials/Instances.vue | 10 ++++++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/components/pages/Home.vue b/app/components/pages/Home.vue index 375b254..a87184e 100644 --- a/app/components/pages/Home.vue +++ b/app/components/pages/Home.vue @@ -29,9 +29,9 @@

- - -

+ + +

diff --git a/app/components/partials/Header.vue b/app/components/partials/Header.vue index 8b73802..b598d92 100644 --- a/app/components/partials/Header.vue +++ b/app/components/partials/Header.vue @@ -39,7 +39,7 @@
  • -
  • diff --git a/app/components/partials/Instances.vue b/app/components/partials/Instances.vue index 7214556..9cf4be5 100644 --- a/app/components/partials/Instances.vue +++ b/app/components/partials/Instances.vue @@ -1,5 +1,5 @@ @@ -72,7 +77,8 @@ export default { start: 0, count: 100, signup: true, - healthy: true + healthy: true, + nsfwPolicy: [ 'do_not_list', 'blur' ] } } axios('https://instances.joinpeertube.org/api/v1/instances', options)