You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any query or method that I can get the correct order of array?
If I add an item, it should store as the last item in the array. But it's not working like that. ( Probably, it's only happen at me? )
Currently, I have to reorder the array by sorting the times like this
And one more question how do I get current username/data?
I try something like this and it just return promise.
var currentUsername = hoodie.account.get().then(function(e){
return e.username;
})
console.log(currentUsername);
Is there any easy way to get username as a string?
Probably something like this var currentUsername = hoddie.account.get('username');
The text was updated successfully, but these errors were encountered:
This is pulled from hoodiehq#859, originally posted by @ronaldaug
Is there any query or method that I can get the correct order of array?
If I add an item, it should store as the last item in the array. But it's not working like that. ( Probably, it's only happen at me? )
Currently, I have to reorder the array by sorting the times like this
And one more question how do I get current username/data?
I try something like this and it just return promise.
console.log(currentUsername);
Is there any easy way to get username as a string?
Probably something like this var currentUsername = hoddie.account.get('username');
The text was updated successfully, but these errors were encountered: