瀏覽代碼

fix: alert dont clear

Weihua Lu 4 年之前
父節點
當前提交
acfe7cb097
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)))]