FIX: Show 'Export' button for all tabular reports. (#7838)

This commit is contained in:
Bianca Nenciu
2019-07-03 15:47:36 +03:00
committed by Joffrey JAFFEUX
parent 426c8045de
commit bfdf740a05
3 changed files with 63 additions and 2 deletions

View File

@@ -55,7 +55,6 @@ export default Ember.Component.extend({
showTitle: true,
showFilteringUI: false,
showDatesOptions: Ember.computed.alias("model.dates_filtering"),
showExport: Ember.computed.not("model.isTable"),
showRefresh: Ember.computed.or(
"showDatesOptions",
"model.available_filters.length"

View File

@@ -164,7 +164,7 @@
</div>
{{/each}}
{{#if showExport}}
{{#if model.isTable}}
<div class="control">
<div class="input">
{{d-button