pixman92 / StatusBuddy

0 stars 0 forks source link

Making a Pinned Email list #4

Open pixman92 opened 2 years ago

pixman92 commented 2 years ago

I need to make an array for Pinned Emails

pixman92 commented 2 years ago

a runningThroughArrayOfPinnedEmails - function

pixman92 commented 2 years ago
let myPinned = ['leo@gmail.com', 'sam@gmail.com', 'tim@gmail.com'];

let UIDStoreArray = [];

function pullStatusesFromEachIndex(){
    for(let i=0; i<myPinned.length; i++){
        pullBasedOnEmail('StatusBuddy', myPinned[i]);
        UIDStoreArray.push(savedArrayUID[0]);
    }
    console.log('UIDStoreArray', UIDStoreArray);
}