Skip to content

Commit 9016a65

Browse files
committed
fix: camera upload parent dir fetching
1 parent a6a67e2 commit 9016a65

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/cameraUpload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ export class CameraUpload {
669669
uuid: state.remote.uuid
670670
})
671671

672-
if (!remotePath || remotePath !== state.remote.path) {
672+
if (!remotePath) {
673673
return
674674
}
675675

queries/useCameraUploadParent.query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export async function fetchData() {
1818
uuid: state.remote.uuid
1919
})
2020

21-
if (!remotePath || remotePath !== state.remote.path) {
21+
if (!remotePath) {
2222
return
2323
}
2424

queries/useDriveItems.query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export async function fetchData(params: UseDriveItemsQueryParams): Promise<Drive
5151
uuid: state.remote.uuid
5252
})
5353

54-
if (!remotePath || remotePath !== state.remote.path) {
54+
if (!remotePath) {
5555
return []
5656
}
5757
}

0 commit comments

Comments
 (0)