Skip to content

Commit

Permalink
Remove "Remove currently set app password" button if none is actually…
Browse files Browse the repository at this point in the history
… set

Signed-off-by: DL6ER <[email protected]>
  • Loading branch information
DL6ER committed Jun 26, 2024
1 parent e9aea93 commit d3ac2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pi-hole/js/settings-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ function processWebServerConfig() {
$("#apppw_submit").text("Replace app password");
$("#apppw_submit").removeClass("btn-success");
$("#apppw_submit").addClass("btn-warning");
}
} else $("#apppw_clear").hide();
})
.fail(function (data) {
apiFailure(data);
Expand Down

0 comments on commit d3ac2fe

Please sign in to comment.