mirror of
https://github.com/penpot/penpot.git
synced 2026-07-23 14:38:12 +00:00
🐛 Fix share-link incorrect error handling.
This commit is contained in:
parent
3dd22fd298
commit
d1f7bc6198
@ -135,8 +135,8 @@
|
||||
(filter #(= page-id (:page-id %)))
|
||||
(d/index-by :id)
|
||||
(assoc state :comment-threads)))
|
||||
(on-error [err]
|
||||
(if (= :not-authorized (:code err))
|
||||
(on-error [{:keys [type] :as err}]
|
||||
(if (= :authentication type)
|
||||
(rx/empty)
|
||||
(rx/throw err)))]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user