Skip to content
Snippets Groups Projects
Commit 317699dc authored by Gabriel Engel's avatar Gabriel Engel Committed by GitHub
Browse files

Merge pull request #5634 from timkinnane/patch-3

Fix exception in template helper, iframe login
parents 41ac5532 e31fd0a5
No related branches found
No related tags found
No related merge requests found
......@@ -97,10 +97,12 @@ Template.main.helpers
return false
useIframe: ->
return RocketChat.iframeLogin.reactiveEnabled.get()
iframeEnabled = (typeof RocketChat.iframeLogin isnt "undefined")
return (iframeEnabled and RocketChat.iframeLogin.reactiveEnabled.get())
iframeUrl: ->
return RocketChat.iframeLogin.reactiveIframeUrl.get()
iframeEnabled = (typeof RocketChat.iframeLogin isnt "undefined")
return (iframeEnabled and RocketChat.iframeLogin.reactiveIframeUrl.get())
subsReady: ->
routerReady = FlowRouter.subsReady('userData', 'activeUsers')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment