diff --git a/web/src/views/SubEditor.vue b/web/src/views/SubEditor.vue
index 237c242..6f5ae5e 100644
--- a/web/src/views/SubEditor.vue
+++ b/web/src/views/SubEditor.vue
@@ -39,7 +39,12 @@
- {{ sub.name }}
+
+ {{ sub['display-name'] }} ({{ sub.name }})
+
+
+ {{ sub.name }}
+
diff --git a/web/src/views/Subscription.vue b/web/src/views/Subscription.vue
index 809545c..0a68cc0 100644
--- a/web/src/views/Subscription.vue
+++ b/web/src/views/Subscription.vue
@@ -64,8 +64,8 @@
-
- {{ subs }}
+
+ {{ subs['display-name'] || subs.name}}
@@ -175,8 +175,14 @@ export default {
},
collections() {
const cols = this.$store.state.collections;
- return Object.keys(cols).map(k => cols[k]);
- }
+ const collections = Object.keys(cols).map(k => cols[k]);
+ const subscriptions = this.$store.state.subscriptions;
+ collections.map(item => {
+ item.subsInfo = []
+ item.subscriptions.map(sub => item.subsInfo.push(subscriptions[sub]))
+ })
+ return collections
+ },
},
methods: {