Skip to content

Commit d3f30df

Browse files
fix(app): open legacy picker at home (anomalyco#39804)
Co-authored-by: Brendan Allan <git@brendonovich.dev>
1 parent 7ea343c commit d3f30df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/app/src/components/dialog-select-directory.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ export function DialogSelectDirectory(props: DialogSelectDirectoryProps) {
5757
const [filter, setFilter] = createSignal("")
5858
let list: ListRef | undefined
5959

60-
const missingBase = createMemo(() => !(sync.data.path.home || sync.data.path.directory))
60+
const missingHome = createMemo(() => !sync.data.path.home)
6161
const [fallbackPath] = createResource(
62-
() => (missingBase() ? true : undefined),
62+
() => (missingHome() ? true : undefined),
6363
async (): Promise<Path | undefined> => {
6464
if ((await sdk.protocol) !== "v1") return
6565
return sdk.client.path

0 commit comments

Comments
 (0)