A platform for community discussion. Free, open, simple.
FIX: logs for enabling/disabling components should show up in the staff actions logs
OsamaSayegh426c8045def6
diff --git a/app/models/user_history.rb b/app/models/user_history.rbindex c632a3c1800..0c5d87dc10b 100644--- a/app/models/user_history.rb+++ b/app/models/user_history.rb@@ -169,7 +169,9 @@ class UserHistory < ActiveRecord::Base:embeddable_host_create,:embeddable_host_update,:embeddable_host_destroy,- :change_theme_setting+ :change_theme_setting,+ :disable_theme_component,+ :enable_theme_component]enddiff --git a/config/locales/client.en.yml b/config/locales/client.en.ymlindex 2c45ac584f8..de60aa56f95 100644--- a/config/locales/client.en.yml+++ b/config/locales/client.en.yml@@ -3801,6 +3801,8 @@ en:embeddable_host_update: "embeddable host update"embeddable_host_destroy: "embeddable host destroy"change_theme_setting: "change theme setting"+ disable_theme_component: "disable theme component"+ enable_theme_component: "enable theme component"screened_emails:title: "Screened Emails"description: "When someone tries to create a new account, the following email addresses will be checked and the registration will be blocked, or some other action performed."