GRN2-xx: Hide signin when error occures (#2221)

* Hide signin when error occures

* Rubocop fixes
This commit is contained in:
Ahmad Farhat
2020-10-23 10:01:19 -04:00
committed by GitHub
parent 0801c626c5
commit 0ff938a0fd
3 changed files with 26 additions and 5 deletions

View File

@ -130,4 +130,9 @@ module ApplicationHelper
return false unless recording_consent_required?
@settings.get_value("Room Configuration Recording") == "disabled"
end
# Hide the signin buttons if there is an error on the page
def show_signin
!@hide_signin.present?
end
end