Skip to content

Commit

Permalink
Merge pull request #34 from joserabal/client-search-js-fix
Browse files Browse the repository at this point in the history
Fix for JavaScript error in client search for unmanaged clients.
  • Loading branch information
valenbg1 authored Jul 11, 2023
2 parents ee8b2a9 + e2fa7e4 commit 205178d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/clients/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h4 class="text-center">No clients!</h4>
function refresh_search() {
function parse_tds(tds) {
return {
long_name: tds[0].firstElementChild.innerText,
long_name: tds[0].innerText,
creator_name: tds[1].textContent
};
}
Expand All @@ -89,4 +89,4 @@ <h4 class="text-center">No clients!</h4>
}
}
</script>
{% endblock %}
{% endblock %}

0 comments on commit 205178d

Please sign in to comment.