|
|
|
@ -2,9 +2,9 @@ json.setting do
|
|
|
|
|
setting = @laboratory.laboratory_setting
|
|
|
|
|
|
|
|
|
|
json.name setting.name || default_setting.name
|
|
|
|
|
json.nav_logo_url setting.nav_logo_url || default_setting.nav_logo_url
|
|
|
|
|
json.login_logo_url setting.login_logo_url || default_setting.login_logo_url
|
|
|
|
|
json.tab_logo_url setting.tab_logo_url || default_setting.tab_logo_url
|
|
|
|
|
json.nav_logo_url (setting.nav_logo_url || default_setting.nav_logo_url)&.[](1..-1)
|
|
|
|
|
json.login_logo_url (setting.login_logo_url || default_setting.login_logo_url)&.[](1..-1)
|
|
|
|
|
json.tab_logo_url (setting.tab_logo_url || default_setting.tab_logo_url)&.[](1..-1)
|
|
|
|
|
|
|
|
|
|
json.navbar setting.navbar || default_setting.navbar
|
|
|
|
|
|
|
|
|
|