fix: hide open in browser when not available

This commit is contained in:
Stephen Zhou
2025-04-11 10:09:06 +08:00
parent 69eeb24816
commit ffada7c7dc
@@ -158,6 +158,7 @@ export const useEntryActions = ({ entryId, view }: { entryId: string; view?: Fee
},
{
id: COMMAND_ID.entry.openInBrowser,
hide: !entry?.entries.url,
onClick: runCmdFn(COMMAND_ID.entry.openInBrowser, [{ entryId }]),
},
{