diff --git a/CHANGELOG.md b/CHANGELOG.md index 9502adf..fe33b19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +### v2.2.2 (2022-02-TBA) +- Fixed bug with local search not working when using prefix ([#289](https://github.com/pawelmalak/flame/issues/289)) +- Fixed bug with app description not updating when using custom icon ([#310](https://github.com/pawelmalak/flame/issues/310)) +- Changed some of the settings tabs + ### v2.2.1 (2022-01-08) - Local search will now include app descriptions ([#266](https://github.com/pawelmalak/flame/issues/266)) - Fixed bug with unsupported characters in local search [#279](https://github.com/pawelmalak/flame/issues/279)) diff --git a/client/src/components/Apps/AppForm/AppForm.tsx b/client/src/components/Apps/AppForm/AppForm.tsx index c2dc07a..a751ad6 100644 --- a/client/src/components/Apps/AppForm/AppForm.tsx +++ b/client/src/components/Apps/AppForm/AppForm.tsx @@ -64,7 +64,9 @@ export const AppForm = ({ modalHandler }: Props): JSX.Element => { if (customIcon) { data.append('icon', customIcon); } + data.append('name', formData.name); + data.append('description', formData.description); data.append('url', formData.url); data.append('isPublic', `${formData.isPublic ? 1 : 0}`); diff --git a/client/src/components/SearchBar/SearchBar.tsx b/client/src/components/SearchBar/SearchBar.tsx index dd0efe4..9920073 100644 --- a/client/src/components/SearchBar/SearchBar.tsx +++ b/client/src/components/SearchBar/SearchBar.tsx @@ -69,8 +69,7 @@ export const SearchBar = (props: Props): JSX.Element => { ); if (isLocal) { - // no additional encoding required for local search - setLocalSearch(inputRef.current.value); + setLocalSearch(search); } if (e.code === 'Enter' || e.code === 'NumpadEnter') {