diff --git a/supervisor/shared/web_workflow/static/directory.html b/supervisor/shared/web_workflow/static/directory.html index d6b28bc7de..d0ca1a3b32 100644 --- a/supervisor/shared/web_workflow/static/directory.html +++ b/supervisor/shared/web_workflow/static/directory.html @@ -1,4 +1,20 @@ - - -

 

TypeSizePathModified


+🗀  + + + + + + + + +

 

+ + + + + +
TypeSizePathModified
+
+ +
+ +🗀  diff --git a/supervisor/shared/web_workflow/static/directory.js b/supervisor/shared/web_workflow/static/directory.js index b193f1f950..b2b76648c2 100644 --- a/supervisor/shared/web_workflow/static/directory.js +++ b/supervisor/shared/web_workflow/static/directory.js @@ -37,6 +37,10 @@ async function refresh_list() { editable = status.headers.get("Access-Control-Allow-Methods").includes("DELETE"); new_directory_name.disabled = !editable; files.disabled = !editable; + if (!editable) { + let usbwarning = document.querySelector("#usbwarning"); + usbwarning.style.display = "block"; + } } if (window.location.path != "/fs/") {