web_board_uploader_v3

This commit is contained in:
e2002
2023-03-05 09:44:38 +03:00
parent c4b7e646b7
commit 7c241a9787
2 changed files with 5 additions and 4 deletions

View File

@@ -662,7 +662,7 @@ void NetServer::requestOnChange(requestType_e request, uint8_t clientId) {
String processor(const String& var) { // %Templates%
if (var == "ACTION") return (network.status == CONNECTED && !config.emptyFS)?"webboard":"";
if (var == "UPLOADWIFI") return (network.status == CONNECTED || SPIFFS.exists("/data/wifi.csv"))?" hidden":"";
if (var == "UPLOADWIFI") return (network.status == CONNECTED)?" hidden":"";
if (var == "VERSION") return YOVERSION;
if (var == "MODE") {
if(config.store.play_mode==PM_SDCARD) {