[+] Implement switch rating

This commit is contained in:
Hykilpikonna
2020-04-27 03:25:06 -04:00
parent 18825670e4
commit 67a9dcc37f
+9 -1
View File
@@ -144,8 +144,16 @@ export default class Navigation extends Vue
break
}
}
case 'switch-rating':
{
this.app.showRating = !this.app.showRating;
if (this.app.showRating) this.$cookies.set('show-rating', 'set=yes', '30d');
else this.$cookies.set('show-rating', 'set=no', '30d');
break
}
}
}
get version() {return Constants.VERSION}