Fix #9, Fix #42, Fix #48, Fix #95, Fix #96, Fix #97, Fix #99, Fix #119. Fix 120

This commit is contained in:
Jai A
2021-03-26 22:07:15 -07:00
parent 98df1f5312
commit e6ece10716
13 changed files with 221 additions and 104 deletions

View File

@@ -101,7 +101,6 @@ export default {
`https://api.modrinth.com/api/v1/notification/${notification.id}`,
config
)
await this.$router.replace('/' + notification.link)
} catch (err) {
this.$notify({
group: 'main',

View File

@@ -129,14 +129,6 @@ export default {
changeTheme() {
this.$colorMode.preference =
this.$colorMode.value === 'dark' ? 'light' : 'dark'
this.themeAds()
},
themeAds() {
const elements = document.getElementsByClassName('ethical-ad')
for (const elem of elements) {
elem.className = 'ethical-ad loaded ' + this.$colorMode.preference
}
},
gotoRevoke() {
this.$router.replace('/dashboard/misc/revoke-token')
@@ -172,6 +164,8 @@ export default {
data,
config
)
await this.$auth.fetchUser()
} catch (err) {
this.$notify({
group: 'main',