Marked new stuff complete when clicking later (#10043)

* Marked new stuff complete when clicking later

* Moved flag set to action
This commit is contained in:
Keith Holliday
2018-02-26 12:07:54 -07:00
committed by GitHub
parent 01dab33b96
commit 6118336a5d
+2 -1
View File
@@ -119,7 +119,8 @@ export function openMysteryItem () {
return axios.post('/api/v3/user/open-mystery-item');
}
export function newStuffLater () {
export function newStuffLater (store) {
store.state.user.data.flags.newStuff = false;
return axios.post('/api/v3/news/tell-me-later');
}