Commit 69ffa814 authored by Mike Greiling's avatar Mike Greiling

fix alignment for notification settings ajax response

parent 3f768f9a
...@@ -37,7 +37,11 @@ class NotificationSettingsController < ApplicationController ...@@ -37,7 +37,11 @@ class NotificationSettingsController < ApplicationController
def render_response def render_response
render json: { 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 saved: @saved
} }
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment