Skip to content

Commit bbf870a

Browse files
committed
Fix browsing for path if not specified before
1 parent 5b2daf0 commit bbf870a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/apps/popup/DirectoryPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export class DirectoryPage extends React.Component<
8686
async navigate(path: string) {
8787
this.props.pathRef[0] = path
8888
this.setState({ loading: true })
89-
const data = await BeatSaber.Core.Api.listFilesInPath(path)
89+
const data = await BeatSaber.Core.Api.listFilesInPath(path || "")
9090
this.setState(data)
9191
this.setState({ loading: false })
9292
}

0 commit comments

Comments
 (0)