Sfoglia il codice sorgente

enhance: no need to notify matched password

Tienson Qin 3 anni fa
parent
commit
530f683ac0

+ 0 - 1
src/main/frontend/fs/sync.cljs

@@ -1895,7 +1895,6 @@
                 (if (get-in @pwd-map [graph-uuid :private-key])
                   (do (when (state/modal-opened?)
                         (state/set-state! [:ui/loading? :set-graph-password] false)
-                        (notification/show! "Password successfully matched" :success)
                         (state/close-modal!))
                       ::idle)
                   ;; bad pwd

+ 2 - 1
src/main/frontend/handler/file_sync.cljs

@@ -13,7 +13,8 @@
             [frontend.handler.user :as user]
             [frontend.fs :as fs]
             [cljs-time.coerce :as tc]
-            [cljs-time.core :as t]))
+            [cljs-time.core :as t]
+            [frontend.storage :as storage]))
 
 (def *beta-unavailable? (volatile! false))