From fd5059b1c2740da42494e37fe32f468aff222b21 Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Mon, 1 Jul 2019 21:30:19 +0200
Subject: [PATCH] Minor tweaks to debug page

---
 src/App.vue         | 3 +++
 src/views/Debug.vue | 9 ++++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/src/App.vue b/src/App.vue
index c273b5d..4857644 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -11,6 +11,9 @@
             <li>
               <router-link to="/about">About</router-link>
             </li>
+            <li>
+              <router-link to="/debug">Debug</router-link>
+            </li>
           </ul>
         </div>
       </nav>
diff --git a/src/views/Debug.vue b/src/views/Debug.vue
index bbacf05..85680a9 100644
--- a/src/views/Debug.vue
+++ b/src/views/Debug.vue
@@ -97,7 +97,7 @@ export default {
   data () {
     return {
       isLoading: false,
-      currentSourceType: this.source,
+      currentSourceType: this.source || 'webfinger',
       currentId: this.id,
       sources: [],
       providers: [],
@@ -159,3 +159,10 @@ export default {
   },
 }
 </script>
+<style scoped>
+td,
+th {
+  word-wrap: break-word;
+  max-width: 150px;
+}
+</style>
-- 
GitLab