mirror of
https://github.com/luckfox-eng29/kvm.git
synced 2026-06-05 04:39:09 +02:00
Update App version to 0.1.2
Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
This commit is contained in:
@@ -3,9 +3,16 @@ import React from "react";
|
||||
import SideTabs from "@components/Sidebar/SideTabs";
|
||||
import DeviceFilePage from "@/layout/components_side/SharedFolders/DeviceFilePage";
|
||||
import SDFilePage from "@/layout/components_side/SharedFolders/SDFilePage";
|
||||
import { useBootStorageType } from "@/hooks/useBootStorage";
|
||||
|
||||
|
||||
const SharedFolders: React.FC = () => {
|
||||
const { bootStorageType } = useBootStorageType();
|
||||
const isBootFromSD = bootStorageType === "sd";
|
||||
|
||||
if (isBootFromSD) {
|
||||
return <DeviceFilePage />;
|
||||
}
|
||||
|
||||
return (
|
||||
<SideTabs
|
||||
|
||||
Reference in New Issue
Block a user