feat(web-ui)!: remove discord widget (#4630)
This commit is contained in:
@@ -39,7 +39,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ThemeToggle from './ThemeToggle.vue'
|
import ThemeToggle from './ThemeToggle.vue'
|
||||||
import { initDiscord } from '@lizardbyte/shared-web/src/js/discord.js'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { ThemeToggle },
|
components: { ThemeToggle },
|
||||||
@@ -49,7 +48,6 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
let el = document.querySelector("a[href='" + document.location.pathname + "']");
|
let el = document.querySelector("a[href='" + document.location.pathname + "']");
|
||||||
if (el) el.classList.add("active")
|
if (el) el.classList.add("active")
|
||||||
initDiscord();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user