Sfoglia il codice sorgente

Updated samba share interface bug

aroz 1 anno fa
parent
commit
ceb40ff6af
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      web/SystemAO/disk/samba.html

+ 4 - 0
web/SystemAO/disk/samba.html

@@ -216,6 +216,10 @@
                 </table>
             `;
 
+            if (data.length == 0){
+                table = `<div class="ui basic message"><i class="ui green check circle icon"></i> No Samba share folder found in smb.conf</div>`
+            }
+
             // Insert the table into the div
             $("#sharelist").html(table);
         }