浏览代码

Updated fs.html to fix undefine bug

Toby Chui 1 年之前
父节点
当前提交
4265291efb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sd_card/www/admin/fs.html

+ 1 - 1
sd_card/www/admin/fs.html

@@ -753,7 +753,7 @@
                             Share ID
                         </td>
                         <td style="word-break: break-all;">
-                            ${(data.shareid=="")?`File Not Shared`:`<a href="/share?id=${data.shareid}" target="_blank">${data.shareid}</a>`}
+                            ${(data.shareid=="" || data.shareid == undefined)?`File Not Shared`:`<a href="/share?id=${data.shareid}" target="_blank">${data.shareid}</a>`}
                         </td>
                     </tr>
                     <tr>