From fae7a40aebc4266260c8cb0dcac929ac03500590 Mon Sep 17 00:00:00 2001
From: aka <aka@social.sakamoto.gq>
Date: Sun, 13 May 2018 20:47:08 -0300
Subject: Adds an option to export follows

---
 src/components/user_settings/user_settings.vue | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'src/components/user_settings/user_settings.vue')

diff --git a/src/components/user_settings/user_settings.vue b/src/components/user_settings/user_settings.vue
index ed1864cc..184d158d 100644
--- a/src/components/user_settings/user_settings.vue
+++ b/src/components/user_settings/user_settings.vue
@@ -66,6 +66,13 @@
           <p>{{$t('settings.follow_import_error')}}</p>
         </div>
       </div>
+      <div class="setting-item" v-if="enableFollowsExport">
+       <h3>{{$t('settings.follow_export')}}</h3>
+       <button class="btn btn-default" @click="exportFollows">{{$t('settings.follow_export_button')}}</button>
+     </div>
+     <div class="setting-item" v-else>
+       <h3>{{$t('settings.follow_export_processing')}}</h3>
+       </div>
     </div>
   </div>
 </template>
-- 
cgit v1.2.3-70-g09d2

