I\'ve been making dynamic dropdown box that each option has the table\'s name of BigQuery and I want to use return value (list) that is made inside .then method in function