Merge pull request #3810 from overleaf/jpa-meta-tag-user-sessions

[views] user/sessions: refactor window assignment into meta tag

GitOrigin-RevId: a5b07ccc99021b2c72a5888b9a9d28c1c458e1e9
This commit is contained in:
Jakob Ackermann 2021-03-26 10:52:42 +01:00 committed by Copybot
parent 0ca9d0236c
commit deca5f3b0d

View file

@ -1,9 +1,8 @@
extends ../layout
block head-scripts
script(type="text/javascript", nonce=scriptNonce).
window.otherSessions = !{StringHelper.stringifyJsonForScript(sessions)}
block append meta
meta(name="ol-otherSessions" data-type="json" content=sessions)
block content