[fix 5950] closing browser redirects to home
Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
df51731fca
commit
f0980ab7f7
|
@ -52,7 +52,7 @@
|
||||||
[toolbar.view/toolbar {}
|
[toolbar.view/toolbar {}
|
||||||
[toolbar.view/nav-button-with-count
|
[toolbar.view/nav-button-with-count
|
||||||
(actions/close (fn []
|
(actions/close (fn []
|
||||||
(re-frame/dispatch [:navigate-back])
|
(re-frame/dispatch [:navigate-to :home])
|
||||||
(when error?
|
(when error?
|
||||||
(re-frame/dispatch [:browser.ui/remove-browser-pressed browser-id]))))]
|
(re-frame/dispatch [:browser.ui/remove-browser-pressed browser-id]))))]
|
||||||
[toolbar-content url browser url-editing?]
|
[toolbar-content url browser url-editing?]
|
||||||
|
|
Loading…
Reference in New Issue