Skip to content

Commit

Permalink
fix: crash when calling the script via cmdk (#185)
Browse files Browse the repository at this point in the history
* fix: crash when calling the script via cmdk

* Update to version 0.8.1
  • Loading branch information
mayneyao authored Oct 28, 2024
1 parent 3888cc1 commit 7a303eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/cmdk/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,15 @@ export function CommandDialogDemo() {
goto(`/${lastOpenedDatabase}/${docId}`)()
}

const { t } = useTranslation()

if (mode === "action") {
return <ScriptList />
}
if (mode === "syscall") {
return <ActionList />
}

const { t } = useTranslation()

return (
<CommandDialog open={isCmdkOpen} onOpenChange={setCmdkOpen}>
<CommandInput
Expand Down
2 changes: 1 addition & 1 deletion lib/env.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const logger = console
export const EIDOS_VERSION = "0.8.0"
export const EIDOS_VERSION = "0.8.1"
export const isDevMode = Boolean(import.meta.env?.DEV)
export const isSelfHosted = import.meta.env?.VITE_EIDOS_SELF_HOSTED === "true"
export const isInkServiceMode =
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eidos",
"version": "0.8.0",
"version": "0.8.1",
"private": true,
"type": "module",
"description": "Eidos is an extensible framework for managing your personal data throughout your lifetime in one place.",
Expand Down

0 comments on commit 7a303eb

Please sign in to comment.