Skip to content

Commit

Permalink
sonar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
furknyavuz committed Aug 28, 2021
1 parent 1ceaaa8 commit d157fb2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 1,643 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@ <h2 *ngIf="sideNavClosed === 'false'" class="side-nav-brand-text">Open Template
DASHBOARD
</span>
</a>
<!--
<a *ngIf="currentUser && userInfo.payload?.userProfileActivated" [display]="sideNavClosed==='true'" placement="right"
routerLink="{{URLS.dashboard.createEvent}}"
show-delay="500" tooltip="createEvent">
<i aria-hidden="true" class="material-icons">public</i>
<span *ngIf="sideNavClosed === 'false'">
CREATE EVENT
</span>
</a>
-->
<a *ngIf="currentUser" [display]="sideNavClosed==='true'" placement="right" routerLink="{{URLS.dashboard.learn}}"
show-delay="500"
tooltip="learn">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ <h2>Open Template Hub</h2>
DASHBOARD
</span>
</a>
<!--
<a *ngIf="!currentUser" routerLink="{{URLS.dashboard.createEvent}}">
<i aria-hidden="true" class="material-icons">public</i>
<span>
CREATE EVENT
</span>
</a>
-->
<a *ngIf="!currentUser" routerLink="{{URLS.showroom}}">
<i aria-hidden="true" class="material-icons">event</i>
<span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,6 @@ export class DashboardComponent implements OnInit, OnDestroy {
this.basicInfoService.userInfo.subscribe( userInfo => {
this.userInfo = userInfo;

// check interests area defined before service calling.
if ( this.userInfo?.payload?.interests ) {
// this.categoryService.getCategoriesFromId( this.userInfo?.payload?.interests ).subscribe( result => {
// this.userInterests = result;
// } );
}

if ( userInfo?.username ) {
this.userActivityService.getNumberOfEventsTaken( userInfo.username ).subscribe( result => {
this.numberOfEventsTaken = result[0].numberOfEventsTaken
Expand Down
Loading

0 comments on commit d157fb2

Please sign in to comment.