Skip to content
Snippets Groups Projects
Verified Commit 55de0102 authored by Burak Hançerli's avatar Burak Hançerli :headphones:
Browse files

chore: update components and fix a small issue while fetching demo list

parent 2883feca
No related branches found
No related tags found
No related merge requests found
Pipeline #67640 passed
Subproject commit 59721758afe9d7034ca76f1a19c3c5c97610ceaa
Subproject commit 5f115ed120adb58972ac3a0a2b80ec42cf3769a1
......@@ -118,7 +118,8 @@ function listExamples() {
request.responseType = "json";
request.onload = function (oEvent) {
var json = request.response;
if (json.length > 0) {
// check if json is not null
if (json !== null && json.length > 0) {
var projectsmenulist = document.querySelector("#projectsmenulist");
for (project in json) {
var li = document.createElement("li");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment