Pārlūkot izejas kodu

Updated samba share interface bug

aroz 1 gadu atpakaļ
vecāks
revīzija
ceb40ff6af
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  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);
         }