+
+
+ Downloads
+
+
+ {!filesError ? (
+ !filesLoading ? (
+ filesList && filesList?.length > 0 ? (
+ filesList.map((file) => (
+
+
+ {file}
+
+
+ ))
+ ) : (
+
+ None detected - add files to the Downloads folder to download them here
+
+ )
+ ) : (
+
+ )
) : (
-
-
- No files found
- Is your Downloads folder empty?
+
+
+ Error
+
+ Failed to fetch files:
+
+ {filesError.message}
+
- )
- ) : (
-
- )
- ) : (
-
-
- Error
-
- Failed to fetch files:
-
- {filesError.message}
-
-
- )}
-
-
-
-
-
-
-
- Upload Files
-
-
- Files will be in the session's Uploads folder.
-
+
+
+
{
const [file] = e.target.files || [];
const buffer = await file.arrayBuffer();
@@ -436,63 +448,62 @@ export default function View(props: { params: Promise<{ slug: string }> }) {
);
}}
/>
-
-
-
-
-
-
-
- VNC Options
-
-
-
-
-
-
-
-
-
-
-
-
- setQualityLevel(v)}
- min={0}
- max={9}
- className="my-1"
- />
-
-
-
- setCompressionLevel(v)}
- min={0}
- max={9}
- className="my-1"
- />
-
-
-
-
-
-
-
-
-
+