:update-suggestions after command'sloading

This commit is contained in:
Roman Volosovskyi 2017-04-28 07:29:36 +03:00 committed by Roman Volosovskyi
parent 2862af86c9
commit a62d19c7bb
2 changed files with 3 additions and 2 deletions

View File

@ -174,8 +174,8 @@
(reg-handler ::add-commands (reg-handler ::add-commands
[(after save-commands-js!) [(after save-commands-js!)
(after save-global-command!) (after save-global-command!)
;;(after #(dispatch [:check-and-open-dapp!])) (after #(dispatch [:check-and-open-dapp!]))
;;(after #(dispatch [:update-suggestions])) (after #(dispatch [:update-suggestions]))
(after (fn [_ [id]] (after (fn [_ [id]]
(dispatch [:invoke-commands-loading-callbacks id]) (dispatch [:invoke-commands-loading-callbacks id])
(dispatch [:invoke-chat-loaded-callbacks id]))) (dispatch [:invoke-chat-loaded-callbacks id])))

View File

@ -48,3 +48,4 @@
(defn web3-init [provider-address] (defn web3-init [provider-address]
(str "var providerAddress = \"" provider-address "\";" (str "var providerAddress = \"" provider-address "\";"
(slurp "resources/web3_init.js"))) (slurp "resources/web3_init.js")))
;;