Move viewing action of an API call to a separate button instead of panel click