-
+
@@ -23,12 +21,12 @@
import { shell } from 'electron';
export default {
- props: ['webdev', 'developer', 'contributor'],
+ props: ['contributor', 'type'],
methods: {
click() {
- if (this.developer) return shell.openExternal('https://github.com/JsSucks/BetterDiscordApp');
- if (this.webdev) return shell.openExternal('https://betterdiscord.net');
- if (this.contributor) return shell.openExternal('https://github.com/JsSucks/BetterDiscordApp/graphs/contributors');
+ if (this.contributor.developer) return shell.openExternal('https://github.com/JsSucks/BetterDiscordApp');
+ if (this.contributor.webdev) return shell.openExternal('https://betterdiscord.net');
+ if (this.contributor.contributor) return shell.openExternal('https://github.com/JsSucks/BetterDiscordApp/graphs/contributors');
}
}
}
diff --git a/client/src/ui/components/bd/BdMessageBadge.vue b/client/src/ui/components/bd/BdMessageBadge.vue
deleted file mode 100644
index 1344529b..00000000
--- a/client/src/ui/components/bd/BdMessageBadge.vue
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * BetterDiscord BD Message Badge Component
- * Copyright (c) 2015-present Jiiks/JsSucks - https://github.com/Jiiks / https://github.com/JsSucks
- * All rights reserved.
- * https://betterdiscord.net
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
-*/
-
-
-
-
-
-
diff --git a/client/src/ui/components/bd/Card.vue b/client/src/ui/components/bd/Card.vue
index 5fbe7ede..7645d3df 100644
--- a/client/src/ui/components/bd/Card.vue
+++ b/client/src/ui/components/bd/Card.vue
@@ -11,7 +11,7 @@