Skip to content

Commit

Permalink
[web] set profile = "custom" if request is filled from query
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmann committed Apr 2, 2024
1 parent 5ed339c commit cc7294f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/web/static/js/create-mt.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ function fillGUIFromRequestData(req) {
fillGUIWithMaybeTemplate(req.restrictions, "restr", set_restrictions_in_gui, mtPrefix);
fillGUIWithMaybeTemplate(req.rotation, "rot", set_rotation_in_gui, mtPrefix);
fillGUIWithMaybeTemplate(req.capabilities, "cap", set_capabilities_in_gui, mtPrefix);

}

function fillPropertiesFromQuery() {
Expand All @@ -151,6 +150,7 @@ function fillPropertiesFromQuery() {
const req_str = window.atob(base64);
const req = JSON.parse(req_str);
fillGUIFromRequestData(req);
$(prefixId(`profile-template`, mtPrefix)).val("");
}

$mtOIDCIss.on('changed.bs.select', function () {
Expand Down

0 comments on commit cc7294f

Please sign in to comment.