Skip to content

Commit

Permalink
Merge pull request #99 from grycap/dev-slangarita
Browse files Browse the repository at this point in the history
change on callback
  • Loading branch information
catttam committed Feb 19, 2024
2 parents 93ff48e + ea621c5 commit f22e666
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/callback.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@
localStorage.setItem("secretKey",response.data.minio_provider.secret_key)

localStorage.setItem("authenticated", true);
localStorage.setItem("yunikorn_enable",response.data.config.yunikorn_enable);
localStorage.setItem("gpu_available",response.data.config.gpu_available);
localStorage.setItem("interLink_available",response.data.config.interLink_available);
localStorage.setItem("yunikorn_enable",response.data.config?.yunikorn_enable);
localStorage.setItem("gpu_available",response.data.config?.gpu_available);
localStorage.setItem("interLink_available",response.data.config?.interLink_available);
var url_redirect = window.location.origin + "/#/services"
window.location.href = url_redirect
}).catch(function (error) {
Expand Down

0 comments on commit f22e666

Please sign in to comment.