Răsfoiți Sursa

fix: alert dont clear

Weihua Lu 4 ani în urmă
părinte
comite
acfe7cb097
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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
             (log/error :shortcut/register-shortcut {:id id
                                                     :binding k
                                                     :binding k
                                                     :error e})
                                                     :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 [f (fn [e]
               (let [dispatch-fn (get shortcut-map (keyword (.-identifier e)))]
               (let [dispatch-fn (get shortcut-map (keyword (.-identifier e)))]