mirror of
https://github.com/BoostIo/Boostnote
synced 2026-05-25 00:42:03 +00:00
on Refactoring...
This commit is contained in:
@@ -81,7 +81,7 @@ function searchArticle (search, articles) {
|
||||
// Filter end
|
||||
|
||||
function fetchArticles () {
|
||||
var user = JSON.parse(localStorage.getItem('user'))
|
||||
var user = JSON.parse(localStorage.getItem('currentUser'))
|
||||
if (user == null) {
|
||||
console.log('need to login')
|
||||
return []
|
||||
|
||||
Reference in New Issue
Block a user