mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 06:58:58 -05:00
🐛 Fix share-link incorrect error handling.
This commit is contained in:
parent
3dd22fd298
commit
d1f7bc6198
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue