fix: don't show apply filter button if no filter button
This commit is contained in:
parent
64d2d99ba8
commit
ab65f7a7f0
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