Skip to content

Commit

Permalink
Merge pull request #162 from takenet/feature/fixing-sidenavmenuitem
Browse files Browse the repository at this point in the history
feat(components): fixing variables in component index of sidenavmenuitem
  • Loading branch information
alacerdah authored May 5, 2023
2 parents 1f614ed + c4df5cb commit e00af67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/sidenavMenuItem/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ export const sidenavMenuItem = angular
.component('sidenavMenuItem', {
template: template,
controller: class {
title: any;
text: any;
sparams: any;
sref: any;
icon: any;
Expand All @@ -26,13 +28,11 @@ export const sidenavMenuItem = angular
private $state,
private $element,
private $rootScope,
private AccountService,
) {
'ngInject';
this.$rootScope = $rootScope;
this.$state = $state;
this.$element = $element;
this.AccountService = AccountService;
this.hasChildren = this.hasChildren || false;
this.preventDefault = this.preventDefault == false ? false : true;
this._isNewChildren = false;
Expand Down

0 comments on commit e00af67

Please sign in to comment.