This repository was archived by the owner on Apr 25, 2024. It is now read-only.
Commit 4aba8fb
committed
Fix issue #121 - notes with resources but no content weren't created
When creating a note, but not explicitly providing content, geeknote
assumes the editor should be used to collect user input. It then
creates a note only when the content is changed. If the content
remains empty, no note would have been created.
Now, we create the new note anyway even when the empty content is unchanged.
Perhaps a better fix would be to create the note only if a resource
were provided in that case. I'm not sure that's obvious behavior though.1 parent 5cc6a91 commit 4aba8fb
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
949 | 949 | | |
950 | 950 | | |
951 | 951 | | |
952 | | - | |
| 952 | + | |
953 | 953 | | |
954 | 954 | | |
955 | 955 | | |
| |||
0 commit comments