fixed approve button in array in results.js