Skip to content

Commit

Permalink
Deletion of previous input on create database modal.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Jul 27, 2024
1 parent bbacdcb commit d5afbd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/appsec/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ $("#create-btn").click(()=> {
return;
}

createDbEditor.setValue("{}");
$("input[name=\"db-mode\"]:checked").val("false");
$("#db-name").val("");
$("#create-db-modal").modal("hide");
$("#success-modal").modal("show");
}
Expand Down

0 comments on commit d5afbd7

Please sign in to comment.