We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66fcab7 commit f0beb38Copy full SHA for f0beb38
1 file changed
packages/app/src/components/session/session-header.tsx
@@ -303,7 +303,12 @@ export function SessionHeader() {
303
})
304
305
const canOpen = createMemo(() => platform.platform === "desktop" && !!platform.openPath && server.isLocal())
306
- const current = createMemo(() => options().find((o) => o.id === prefs.app) ?? options()[0])
+ const current = createMemo(
307
+ () =>
308
+ options().find((o) => o.id === prefs.app) ??
309
+ options()[0] ??
310
+ ({ id: "finder", label: fileManager().label, icon: fileManager().icon } as const),
311
+ )
312
const opening = createMemo(() => openRequest.app !== undefined)
313
314
const selectApp = (app: OpenApp) => {
0 commit comments