Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
Kraken
2021-04-08 15:22:50 +02:00
7 changed files with 111 additions and 15 deletions
+3 -3
View File
@@ -21,13 +21,13 @@ $(document).ready(function () {
// Populate select with options from the database
axios.get('/Backend/Controllers/GameJam/GetGameJam.php')
.then(function(res) {
let resArr = res.data;
let resArr = res.data.data;
for(let i = 0; i < res.data.data.length; i++)
{
arr.push({
id: res.data.data[i].id,
Gamejam: res.data.data[i].name
id: resArr[i].id,
Gamejam: resArr[i].name
});
}