chore: generate
This commit is contained in:
parent
a4c17f08b1
commit
353e0eef8a
1 changed files with 3 additions and 1 deletions
|
|
@ -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) =>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue