Skip to content

Commit

Permalink
[#141] Show pending profiles for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
javieriserte committed Dec 19, 2024
1 parent 64968b4 commit 1004882
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ define(['lodash'], function (_) {
function (response) {
$scope.profiles = response.data;
getProfilesWithDifferentCategory($scope.profiles);
$scope.profile_json = JSON.stringify($scope.profiles, null, 2);
console.log($scope.profile_json);
getUploadStatus($scope.profiles);
$scope.profiles.forEach(
function (element) {
Expand Down
6 changes: 6 additions & 0 deletions app/assets/javascripts/profileapproval/views/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@
</tbody>
</table>
</div>
<div class="content-wrap-small">
<span>Profiles:</span><br>
<pre>
<code>{{profile_json}}</code>
</pre>
</div>
</section>
</div>
</div>
Expand Down

0 comments on commit 1004882

Please sign in to comment.