提交 69ffa814 编写于 作者: M Mike Greiling

fix alignment for notification settings ajax response

上级 3f768f9a
......@@ -37,7 +37,11 @@ class NotificationSettingsController < ApplicationController
def render_response
render json: {
html: view_to_html_string("shared/notifications/_button", notification_setting: @notification_setting),
html: view_to_html_string(
"shared/notifications/_button",
notification_setting: @notification_setting,
left_align: @notification_setting.source.nil?
),
saved: @saved
}
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册