Browse Source

fix: do not print nil in QC (#9617)

Bad3r 2 years ago
parent
commit
b435cb2e13
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/main/frontend/quick_capture.cljs

+ 2 - 0
src/main/frontend/quick_capture.cljs

@@ -18,6 +18,8 @@
 
 (defn quick-capture [args]
   (let [{:keys [url title content page append]} (bean/->clj args)
+        title (or title "")
+        url (or url "")
         insert-today? (get-in (state/get-config)
                               [:quick-capture-options :insert-today?]
                               false)