Просмотр исходного кода

Updated samba share interface bug

aroz 1 год назад
Родитель
Сommit
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);
         }