ebta-workflow-prod 4.0.18 → 4.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ebta-workflow-prod",
3
3
  "private": false,
4
- "version": "4.0.18",
4
+ "version": "4.0.20",
5
5
  "description": "",
6
6
  "license": "UNLICENSED",
7
7
  "author": "",
@@ -197,7 +197,7 @@ function ItemSearcher_V2(props: ItemSearcher_V2Props): React.ReactElement {
197
197
  clearTimeout(debounceTimer.current);
198
198
  debounceTimer.current = setTimeout(() => {
199
199
  setProperty("searchQuery" as any, value); // triggers the expensive effect
200
- }, 400);
200
+ }, 300);
201
201
  };
202
202
 
203
203
 
@@ -1012,9 +1012,13 @@ function ItemSearcher_V2(props: ItemSearcher_V2Props): React.ReactElement {
1012
1012
  onChange={handleSearchChange}
1013
1013
  sx={{ padding: '1px', fontSize: '1.4rem', color: 'var(--accentIconBorder) !important', width: '100%' }}
1014
1014
  />
1015
- {searchQuery && (
1015
+ {(inputValue && inputValue!=='') && (
1016
1016
  <IconButton
1017
- onClick={() => { setProperty("searchQuery" as any, '') }}
1017
+ onClick={() => {
1018
+ setInputValue('');
1019
+ clearTimeout(debounceTimer.current);
1020
+ setProperty("searchQuery" as any, '');
1021
+ }}
1018
1022
  size="large"
1019
1023
  sx={{ position: 'absolute', right: '8px', color: 'var(--alertGrayBackground) !important' }}
1020
1024
  >