Remove "Remove currently set app password" button if none is actually set

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2024-06-26 11:03:28 +02:00
parent e9aea93298
commit d3ac2fed8d

View File

@@ -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);