mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 09:35:37 -05:00
fix multiple button issue (#14443)
This commit is contained in:
@@ -99,6 +99,10 @@ export class HeaderFilter<T extends Slick.SlickData> {
|
||||
if ((<FilterableColumn<T>>column).filterable === false) {
|
||||
return;
|
||||
}
|
||||
if (args.node.classList.contains('slick-header-with-filter')) {
|
||||
// the the filter button has already being added to the header
|
||||
return;
|
||||
}
|
||||
args.node.classList.add('slick-header-with-filter');
|
||||
const $el = jQuery(`<button aria-label="${ShowFilterText}" title="${ShowFilterText}"></button>`)
|
||||
.addClass('slick-header-menubutton')
|
||||
|
||||
Reference in New Issue
Block a user