[O] Use better cookie name

This commit is contained in:
Hykilpikonna
2019-12-21 19:23:13 -05:00
parent 5b5704bd75
commit daeca0fb0b
+2 -2
View File
@@ -87,7 +87,7 @@
mounted() mounted()
{ {
// Check unread // Check unread
if (!this.$cookies.isKey('IgnoreUnread')) if (!this.$cookies.isKey('va.ignore-unread'))
{ {
// Count unread // Count unread
this.unread = this.courses.flatMap(c => c.assignments.filter(a => a.unread)); this.unread = this.courses.flatMap(c => c.assignments.filter(a => a.unread));
@@ -116,7 +116,7 @@
if (!this.dontAskAgain) return; if (!this.dontAskAgain) return;
// Don't ask again // Don't ask again
this.$cookies.set('IgnoreUnread', true); this.$cookies.set('va.ignore-unread', true);
} }
} }
} }