You've already forked AstralRinth
forked from didirus/AstralRinth
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user