Message ID | 20231016165213.342109-1-alassane.yattara@savoirfairelinux.com |
---|---|
State | Accepted, archived |
Commit | 87f5987e22b3d1c05b29a25ef354ecd63ac9e1df |
Headers | show |
Series | Toaster: Fixed javascript issue on tests.browser.test_js_unit_tests | expand |
diff --git a/lib/toaster/toastergui/static/js/projectpage.js b/lib/toaster/toastergui/static/js/projectpage.js index 506471e0..a3c95810 100644 --- a/lib/toaster/toastergui/static/js/projectpage.js +++ b/lib/toaster/toastergui/static/js/projectpage.js @@ -61,7 +61,7 @@ function projectPageInit(ctx) { distroChangeInput.val(urlParams.setDistro); distroChangeBtn.click(); } else { - updateDistroName(prjInfo.distro.name); + updateDistroName(prjInfo.distro?.name); } /* Now we're really ready show the page */