Skip to content

Commit

Permalink
Merge pull request #113 from flexion/sprint-19
Browse files Browse the repository at this point in the history
Removed Download Data Dictionary button, and made it a link in the fo…
  • Loading branch information
davehannon authored Sep 28, 2018
2 parents 4b8459d + 7045652 commit 3a5f234
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion app/src/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
div.col-sm-12.col-md-4.col-lg-2
a(href='#') Web Policies
div.col-sm-12.col-md-4.col-lg-2
a(href='#') Feedback
a(href='api/dataDictionary/HUD_FEMA_Data_Dictionary.xlsx' download='') Data Dictionary
.container-block.signature
div.row
div.col-lg-2
Expand Down
5 changes: 0 additions & 5 deletions app/src/components/SavedExtracts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
li(v-for='(item, $item) in items')
disaster(:prefix="'saved'", :item='item')
#action-buttons
a(:href='downloadDataDict()' tabindex='-1' download='')
button#data-dict-button.usa-button.alt-button(title='Download Data Dictionary button') Download Data Dictionary
button#clear-button.usa-button.alt-button(@click='clear' title='Clear button') Clear
a(:href='download()' tabindex='-1' download='')
button#export-button.usa-button.green(:disabled='items.length === 0' title='Export button')
Expand Down Expand Up @@ -79,9 +77,6 @@ export default {
}
},
methods: {
downloadDataDict () {
return 'api/dataDictionary/HUD_FEMA_Data_Dictionary.xlsx'
},
download () {
if (!this.items || this.items.length === 0) return
const timeStamp = moment().format('YYYY-MM-DD-kk:mm:ss')
Expand Down

0 comments on commit 3a5f234

Please sign in to comment.