@ledvance/ui-biz-bundle 1.1.24 → 1.1.25

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
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/ui-biz-bundle",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.1.24",
7
+ "version": "1.1.25",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -98,8 +98,8 @@ const FlagPage = () => {
98
98
  }, [JSON.stringify(flags)])
99
99
 
100
100
  useUpdateEffect(() =>{
101
- state.flags = state.searchText === '' ? cloneDeep(flags) : state.flags.filter(flag => flag.name.includes(state.searchText))
102
- }, [state.searchText, JSON.stringify(state.flags)])
101
+ state.flags = state.searchText !== '' ? cloneDeep(flags).filter(flag => flag.name.includes(state.searchText)) : cloneDeep(flags)
102
+ }, [state.searchText, flags])
103
103
 
104
104
  const getRemoteFlagInfo = async () => {
105
105
  const isDef2 = def2Pids.includes(devInfo.productId)