mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 20:55:28 +00:00
Remove "Remove currently set app password" button if none is actually set
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user