File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
UI/web-app/src/components/HRQuerySource Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -937,7 +937,26 @@ export const HRQuerySourceBase: React.FunctionComponent<HRQuerySourceProps> = (p
937937 disabled = { isEditingExistingJob }
938938 />
939939
940- { ( includeFilter || source . filter ) ?
940+ { ( ( source . filter && ( source . filter . includes ( "(" ) || source . filter . includes ( ")" ) ) ) ) ?
941+ (
942+ < > < div className = { classNames . labelContainer } >
943+ < Label > { strings . HROnboarding . filter } </ Label >
944+ < TooltipHost content = { strings . HROnboarding . filterInfo } id = "toolTipFilterId" calloutProps = { { gapSpace : 0 } } >
945+ < IconButton title = { strings . HROnboarding . filterInfo } iconProps = { { iconName : "Info" } } aria-describedby = "toolTipFilterId" />
946+ </ TooltipHost >
947+ </ div >
948+ < TextField
949+ placeholder = { strings . HROnboarding . filterPlaceHolder }
950+ multiline rows = { 3 }
951+ resizable = { true }
952+ value = { source . filter ?. toString ( ) }
953+ onChange = { handleFilterChange }
954+ styles = { { root : classNames . textField , fieldGroup : classNames . textFieldGroup } }
955+ validateOnLoad = { false }
956+ validateOnFocusOut = { false }
957+ disabled = { isEditingExistingJob }
958+ > </ TextField > </ >
959+ ) : attributes && attributes . length > 0 && ( includeFilter || source . filter ) ?
941960 (
942961 < div >
943962 < DetailsList
You can’t perform that action at this time.
0 commit comments