Skip to content

Commit

Permalink
Merge pull request #31 from totono/develop
Browse files Browse the repository at this point in the history
release 0.3.1
  • Loading branch information
totono authored Apr 1, 2023
2 parents e4e06b8 + db8b9d3 commit 03857dd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "todo"
version = "0.2.0"
description = "A Tauri App"
version = "0.3.0"
description = "todo"
authors = ["you"]
license = ""
repository = ""
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "todo",
"version": "0.2.0"
"version": "0.3.0"
},
"tauri": {
"systemTray": {
Expand Down
8 changes: 4 additions & 4 deletions src/components/elements/Input/taskRegister.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import { InputState } from "./InputState";
export const taskRegister = async (task:InputState) => {
//const date = task.limit_date?.format("YYYY/MM/DD") ?? null;
//const time = task.limit_time?.format("HH:mm") ?? null;
const text = task.text === null ? "" : task.text;
const text = task.text == null ? "" : task.text;

const res: Model = await taskCommand.create(
task.title,
text,
null,
(task.limit_date)?.toString() ?? null,
(task.limit_time)?.toString() ?? null,
undefined,
(task.limit_date)?.toString() ?? undefined,
(task.limit_time)?.toString() ?? undefined,
);
return res;
}

0 comments on commit 03857dd

Please sign in to comment.