소스 검색

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);
         }