Display a button after promises are resolved

I have a javascript function inside which i have 3 api calls with promises. How can I display a button when all promises are resolved.

I had to make different function which i execute after first function. But that only increases buttons and functions in my code.