Jelajahi Sumber

fix: alert dont clear

Weihua Lu 4 tahun lalu
induk
melakukan
acfe7cb097
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/main/frontend/modules/shortcut/core.cljs

+ 1 - 1
src/main/frontend/modules/shortcut/core.cljs

@@ -41,7 +41,7 @@
             (log/error :shortcut/register-shortcut {:id id
                                                     :binding k
                                                     :error e})
-            (notification/show! (str/join " " [id k (.-message e)]) :error)))))
+            (notification/show! (str/join " " [id k (.-message e)]) :error false)))))
 
     (let [f (fn [e]
               (let [dispatch-fn (get shortcut-map (keyword (.-identifier e)))]