fixed bug in showing users groups

root 2021-06-02 08:06:54 +02:00
parent a760a87a90
commit d430ca4f9e
2 changed files with 4 additions and 4 deletions

View File

@ -248,7 +248,7 @@ $(document).ready(function() {
{
"targets": 10,
"render": function ( data, type, full, meta ) {
return "<li>" + full.keycloak_groups.join("</li><li>") + "</li>"
return "<li>" + full.moodle_groups.join("</li><li>") + "</li>"
}},
{
"targets": 11,
@ -262,7 +262,7 @@ $(document).ready(function() {
{
"targets": 12,
"render": function ( data, type, full, meta ) {
return "<li>" + full.keycloak_groups.join("</li><li>") + "</li>"
return "<li>" + full.nextcloud_groups.join("</li><li>") + "</li>"
}},
]
} );

View File

@ -27,7 +27,7 @@
<button class="btn btn-primary btn-xs btn-sync_to_moodle">
<i class="fa fa-refresh" aria-hidden="true"></i> Sync to Moodle
</button>
<button class="btn btn-danger btn-xs btn-delete_keycloak">
<!-- <button class="btn btn-danger btn-xs btn-delete_keycloak">
<i class="fa fa-trash"></i> Delete all keycloak
</button>
<button class="btn btn-danger btn-xs btn-delete_nextcloud">
@ -35,7 +35,7 @@
</button>
<button class="btn btn-danger btn-xs btn-delete_moodle">
<i class="fa fa-trash"></i> Delete missing keycloak in moodle
</button>
</button> -->
<table id="users" class="table" width="100%">
<thead>
<tr>