File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ <h1 main-title>
70
70
hide-search hidden$ ="[[!_isActive(partnershipPage, 'hact')]] ">
71
71
</ etools-dropdown >
72
72
</ div >
73
- < div class ="top-content-action " hidden$ ="[[!hactActive ]] ">
74
- < a target ="_blank " href ="[[exportUrl ]] ">
73
+ < div class ="top-content-action " hidden$ ="[[hideExport ]] ">
74
+ < a target ="_blank " href ="[[csvUrl ]] ">
75
75
< paper-button >
76
76
< iron-icon icon ="file-download "> </ iron-icon >
77
77
Export
@@ -194,6 +194,7 @@ <h1 main-title>
194
194
dashTab === 'partnerships' ? this . set ( 'pageTitle' , 'CSO Dashboard' ) : this . set ( 'pageTitle' , 'Dashboard' ) ;
195
195
} ,
196
196
_updateUrlTab : function ( tab ) {
197
+ this . hideExport = tab === 'hact' || tab === 'partnerships' ? false : true ;
197
198
if ( ! tab ) {
198
199
return ;
199
200
}
@@ -208,7 +209,7 @@ <h1 main-title>
208
209
window . location . href = this . baseSite + '/t2f/edit-travel/-1' ;
209
210
} ,
210
211
_setExportYear : function ( ) {
211
- this . exportUrl = event . target . dropdownValue ;
212
+ this . csvUrl = event . target . dropdownValue ;
212
213
} ,
213
214
} ) ;
214
215
You can’t perform that action at this time.
0 commit comments