fix(i18n): include i18n keys in notification payload

This commit is contained in:
Mega Yu
2026-05-15 18:19:23 +08:00
parent fef89c1c4e
commit 9dbb2ca522

View File

@@ -1099,7 +1099,8 @@
:notification
(do
(log/error ::apply-outliner-ops-failed e)
(shared-service/broadcast-to-clients! :notification [(:message payload) (:type payload) (:clear? payload) (:uid payload) (:timeout payload)])
(shared-service/broadcast-to-clients! :notification [(:message payload) (:type payload) (:clear? payload) (:uid payload) (:timeout payload)
(select-keys payload [:i18n-key :i18n-args])])
;; re-throw as CLI needs to see notification
(throw e))
(throw e)))))))