mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 05:41:33 +02:00
8210f55ca6
Teardown persistent upgrade prompt split test and fix styling GitOrigin-RevId: 8776231c3308c5f08b91232c962c9796a5f4afa0
15 lines
379 B
JavaScript
15 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()
|
|
}
|
|
)
|