Skip to content

Commit

Permalink
TabEnhancement: Default color change
Browse files Browse the repository at this point in the history
  • Loading branch information
rashmithakkar committed May 18, 2018
1 parent 661f621 commit 1f2664c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/module/panes/tab/tab.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,16 +397,16 @@ findStyleClass(tabData: any): string {
if((!tabData.amexiocolor || tabData.amexiocolor == "" ) && tabData.active && (this.tabPosition == 'top')){
return 'activetab';
}
if ((!tabData.amexiocolor || tabData.amexiocolor == "" ) && (this.tabPosition == 'bottom') && tabData.active) {
if ((!tabData.amexiocolor || tabData.amexiocolor == "") && (this.tabPosition == 'bottom') && tabData.active) {
return 'bottomActivetab';
}
if (tabData.disabled) {
return 'disabled-tab';
}
if ((tabData.amexiocolor != 'amexio-top-tab-black') && (this.tabPosition == 'top') && tabData.active) {
if ((tabData.amexiocolor != "") && (this.tabPosition == 'top') && tabData.active) {
return 'activecolortab';
}
if ((tabData.amexiocolor != 'amexio-bottom-tab-black') && (this.tabPosition == 'bottom') && tabData.active) {
if ((tabData.amexiocolor != "") && (this.tabPosition == 'bottom') && tabData.active) {
return 'activebottomcolortab';
}
}
Expand Down

0 comments on commit 1f2664c

Please sign in to comment.