chore: generate
This commit is contained in:
@@ -1037,7 +1037,9 @@ function HomeProjectRow(props: {
|
|||||||
const canRevealInFileManager = () =>
|
const canRevealInFileManager = () =>
|
||||||
platform.platform === "desktop" && !!platform.openPath && ServerConnection.local(props.server)
|
platform.platform === "desktop" && !!platform.openPath && ServerConnection.local(props.server)
|
||||||
const fileManagerActionLabel = () =>
|
const fileManagerActionLabel = () =>
|
||||||
props.language.t(fileManagerApp(platform.platform === "desktop" ? platform.os ?? "unknown" : "unknown").actionLabel)
|
props.language.t(
|
||||||
|
fileManagerApp(platform.platform === "desktop" ? (platform.os ?? "unknown") : "unknown").actionLabel,
|
||||||
|
)
|
||||||
const revealInFileManager = () => {
|
const revealInFileManager = () => {
|
||||||
if (!platform.openPath) return
|
if (!platform.openPath) return
|
||||||
platform.openPath(props.project.worktree).catch((err: unknown) =>
|
platform.openPath(props.project.worktree).catch((err: unknown) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user