Remove debug display

This commit is contained in:
Laurent Nguyen 2024-03-27 10:38:16 +01:00
parent c442a5a20d
commit 72ec5e891e

View File

@ -628,13 +628,14 @@ const DocumentsTabComponent: React.FunctionComponent<{
}
};
const onHideFilterClick = (): Q.Promise<any> => {
const onHideFilterClick = (): void => {
setIsFilterCreated(false);
// this.isFilterExpanded(false);
$(".filterDocExpanded").removeClass("active");
$("#content").removeClass("active");
$(".queryButton").focus();
return Q();
// $(".filterDocExpanded").removeClass("active");
// $("#content").removeClass("active");
// $(".queryButton").focus();
};
const onCloseButtonKeyDown: KeyboardEventHandler<HTMLSpanElement> = (event) => {
@ -1082,7 +1083,6 @@ const DocumentsTabComponent: React.FunctionComponent<{
return (
<FluentProvider theme={dataExplorerLightTheme} style={{ height: "100%" }}>
{editorState}
<div
className="tab-pane active"
/* data-bind="
@ -1209,7 +1209,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
role="button"
aria-label="close filter"
tabIndex={0}
onClick={() => onHideFilterClick()}
onClick={onHideFilterClick}
onKeyDown={onCloseButtonKeyDown}
/*data-bind="click: onHideFilterClick, event: { keydown: onCloseButtonKeyDown }"*/
>