mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #1550 from sharelatex/spd-fix-broken-team-invite-accept
Fix broken accept-team-invite page GitOrigin-RevId: 0ba3c906548358931902beb48812257da16fc5db
This commit is contained in:
parent
2421593d85
commit
6e960492ff
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ extends ../../layout
|
|||
block scripts
|
||||
script(type='text/javascript').
|
||||
window.teamId = '#{teamId}'
|
||||
window.hasPersonalSubscription = #{hasPersonalSubscription}
|
||||
window.hasIndividualRecurlySubscription = #{hasIndividualRecurlySubscription}
|
||||
window.inviteToken = '#{inviteToken}'
|
||||
|
||||
block content
|
||||
|
|
|
@ -14,8 +14,8 @@ define(['base'], App =>
|
|||
App.controller('TeamInviteController', function($scope, $http) {
|
||||
$scope.inflight = false
|
||||
|
||||
if (hasPersonalSubscription) {
|
||||
$scope.view = 'personalSubscription'
|
||||
if (hasIndividualRecurlySubscription) {
|
||||
$scope.view = 'hasIndividualRecurlySubscription'
|
||||
} else {
|
||||
$scope.view = 'teamInvite'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue