Commit 89dda053 by Иван Кубота

smallfix

parent 6a0b53d9
...@@ -18,7 +18,7 @@ store.sub(['navigation.current', 'loaded.cards'], async function(page, loaded) { ...@@ -18,7 +18,7 @@ store.sub(['navigation.current', 'loaded.cards'], async function(page, loaded) {
const result = await AsyncAuthAjax.get( API.ENDPOINTS.GET_USER_NEW_CARDS() ); const result = await AsyncAuthAjax.get( API.ENDPOINTS.GET_USER_NEW_CARDS() );
result.forEach(function(card) { result.forEach(function(card) {
cards.set(card.id+'', Object.assign({},card, {seen: false})); Model.cards.set(card.id+'', Object.assign({},card, {seen: false}));
}); });
store.set('loaded.cards', true); store.set('loaded.cards', true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment