fix: don't show apply filter button if no filter button
(cherry picked from commit ab65f7a7f0)
This commit is contained in:
parent
fcdb9c9915
commit
ad0beb3810
1 changed files with 6 additions and 3 deletions
|
|
@ -299,9 +299,12 @@ frappe.ui.FilterGroup = class {
|
|||
<button class="btn btn-secondary btn-xs clear-filters">
|
||||
${__('Clear Filters')}
|
||||
</button>
|
||||
<button class="btn btn-primary btn-xs apply-filters">
|
||||
${__('Apply Filters')}
|
||||
</button>
|
||||
${this.filter_button ?
|
||||
`<button class="btn btn-primary btn-xs apply-filters">
|
||||
${__('Apply Filters')}
|
||||
</button>`
|
||||
: ''
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue