mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
feat: sse for volume status change
This commit is contained in:
@@ -15,7 +15,6 @@ interface FileEntry {
|
||||
type VolumeFileBrowserProps = {
|
||||
volumeName: string;
|
||||
enabled?: boolean;
|
||||
refetchInterval?: number | false;
|
||||
withCheckboxes?: boolean;
|
||||
selectedPaths?: Set<string>;
|
||||
onSelectionChange?: (paths: Set<string>) => void;
|
||||
@@ -28,7 +27,6 @@ type VolumeFileBrowserProps = {
|
||||
export const VolumeFileBrowser = ({
|
||||
volumeName,
|
||||
enabled = true,
|
||||
refetchInterval,
|
||||
withCheckboxes = false,
|
||||
selectedPaths,
|
||||
onSelectionChange,
|
||||
@@ -46,7 +44,6 @@ export const VolumeFileBrowser = ({
|
||||
const { data, isLoading, error } = useQuery({
|
||||
...listFilesOptions({ path: { name: volumeName } }),
|
||||
enabled,
|
||||
refetchInterval,
|
||||
});
|
||||
|
||||
useMemo(() => {
|
||||
|
||||
Reference in New Issue
Block a user