mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
5e2933e2fe
Teardown persistent upgrade prompt split test and fix styling GitOrigin-RevId: 8776231c3308c5f08b91232c962c9796a5f4afa0
14 lines
379 B
JavaScript
14 lines
379 B
JavaScript
import App from '../../base'
|
|
|
|
export default App.controller(
|
|
'LeftHandMenuPromoController',
|
|
function ($scope, UserAffiliationsDataService, eventTracking) {
|
|
$scope.hasProjects = window.data.projects.length > 0
|
|
|
|
const _userHasNoAffiliation = function () {
|
|
$scope.withAffiliations = window.data.userAffiliations.length > 0
|
|
}
|
|
|
|
_userHasNoAffiliation()
|
|
}
|
|
)
|