diff --git a/tasmota/xdrv_50_filesystem.ino b/tasmota/xdrv_50_filesystem.ino index bfe9c3b6b..ebd5b681c 100644 --- a/tasmota/xdrv_50_filesystem.ino +++ b/tasmota/xdrv_50_filesystem.ino @@ -560,12 +560,8 @@ const char UFS_FORM_SDC_DIRa[] PROGMEM = const char UFS_FORM_SDC_DIRc[] PROGMEM = ""; const char UFS_FORM_FILE_UPGb[] PROGMEM = -#ifdef GUI_EDIT_FILE "
" - "
" -#endif -; - + ""; const char UFS_FORM_FILE_UPGb1[] PROGMEM = "" D_SHOW_HIDDEN_FILES ""; @@ -670,7 +666,9 @@ void UfsDirectory(void) { UfsListDir(ufs_path, depth); } WSContentSend_P(UFS_FORM_SDC_DIRc); +#ifdef GUI_EDIT_FILE WSContentSend_P(UFS_FORM_FILE_UPGb); +#endif if (!isSDC()) { WSContentSend_P(UFS_FORM_FILE_UPGb1); }