Please use Ctrl+Shift+C for code preformatting.
clubsList(){
let info = JSON.parse(localStorage.getItem(‘userDetails’)); //I assume this to be an array then
//I'm still not sure what the returned Data looks like
let clubCount = info.user_session.associatedClubs.length;
for(var i = 0;i < clubCount; i++){
this.clubDetails.push(info[i]);
}
}