mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #3811 from overleaf/jpa-get-meta-user-sessions
[frontend] clear-sessions: read otherSessions from meta tag GitOrigin-RevId: e20996cc43968b310a9d6633d32ccdabc7d51ec1
This commit is contained in:
parent
deca5f3b0d
commit
d05f262615
1 changed files with 2 additions and 1 deletions
|
@ -10,13 +10,14 @@
|
|||
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
|
||||
*/
|
||||
import App from '../base'
|
||||
import getMeta from '../utils/meta'
|
||||
|
||||
export default App.controller('ClearSessionsController', function(
|
||||
$scope,
|
||||
$http
|
||||
) {
|
||||
$scope.state = {
|
||||
otherSessions: window.otherSessions,
|
||||
otherSessions: getMeta('ol-otherSessions'),
|
||||
error: false,
|
||||
success: false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue