瀏覽代碼

Updated samba share interface bug

aroz 1 年之前
父節點
當前提交
ceb40ff6af
共有 1 個文件被更改,包括 4 次插入0 次删除
  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);
         }