@@ -78,13 +78,6 @@ export class NavbarController implements angular.IController {
7878 this . displayHeaderButtons =
7979 ( this . currentUserIsProjectManager || ( this . project . allowSharing && this . session . data . userIsProjectMember ) ) ;
8080 }
81- console . log ( `this.project: ${ this . project } ` ) ;
82- console . log ( `this.currentUserIsProjectManager: ${ this . currentUserIsProjectManager } ` ) ;
83- console . log ( `session.data.userProjectRole: ${ session . data . userProjectRole } ` ) ;
84- console . log ( `this.displayShareButton ${ this . displayHeaderButtons } ` ) ;
85- console . log ( `this.currentUserIsProjectManager ${ this . currentUserIsProjectManager } ` ) ;
86- console . log ( `this.project.allowSharing: ${ this . project . allowSharing } ` ) ;
87- console . log ( `this.session.data.userIsProjectMember: ${ this . session . data . userIsProjectMember } ` ) ;
8881
8982 this . rights . canCreateProject =
9083 session . hasSiteRight ( this . sessionService . domain . PROJECTS , this . sessionService . operation . CREATE ) ;
@@ -93,12 +86,9 @@ export class NavbarController implements angular.IController {
9386 this . $scope . $on ( '$locationChangeStart' , ( event , next , current ) => {
9487 if ( current . includes ( '/lexicon' ) && ! current . includes ( '/new-project' ) && this . displayHeaderButtons ) {
9588 this . isLexiconProject = true ;
96- console . log ( `Current Path: ${ location . pathname } ` ) ;
9789 } else {
9890 this . isLexiconProject = false ;
9991 }
100- console . log ( `location pathname: ${ location . pathname } , next: ${ next } , current: ${ current } ` ) ;
101- console . log ( `this.isLexiconProject: ${ this . isLexiconProject } ` ) ;
10292 } ) ;
10393 }
10494
0 commit comments