Skip to content

Commit 9dbb2ca

Browse files
committed
fix(i18n): include i18n keys in notification payload
1 parent fef89c1 commit 9dbb2ca

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/frontend/worker/db_core.cljs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,8 @@
10991099
:notification
11001100
(do
11011101
(log/error ::apply-outliner-ops-failed e)
1102-
(shared-service/broadcast-to-clients! :notification [(:message payload) (:type payload) (:clear? payload) (:uid payload) (:timeout payload)])
1102+
(shared-service/broadcast-to-clients! :notification [(:message payload) (:type payload) (:clear? payload) (:uid payload) (:timeout payload)
1103+
(select-keys payload [:i18n-key :i18n-args])])
11031104
;; re-throw as CLI needs to see notification
11041105
(throw e))
11051106
(throw e)))))))

0 commit comments

Comments
 (0)