Skip to content

Commit

Permalink
fix(filelink): fix valut name not encode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
viduycheung committed Nov 6, 2023
1 parent 1598484 commit 0e80d69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ export default class TickTickPlugin extends Plugin {
};

getFileLink = (file: TFile) => {
return `obsidian://open?vault=${file.vault.getName()}&file=${encodeURIComponent(
file.name
)}`;
return `obsidian://open?vault=${encodeURIComponent(
file.vault.getName()
)}&file=${encodeURIComponent(file.name)}`;
};

checkUserLoginStatus = () => {
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "ticktick",
"name": "TickTick",
"version": "1.0.1",
"version": "1.0.2",
"minAppVersion": "0.15.0",
"description": "Check and create tasks in TickTick via Obsidian",
"author": "Viduy Cheung",
Expand Down

0 comments on commit 0e80d69

Please sign in to comment.