Browse Source

Updated fs.html to fix undefine bug

Toby Chui 1 year ago
parent
commit
4265291efb
1 changed files with 1 additions and 1 deletions
  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>