Fixed bug with app description not updating. Fixed bug with local search prefix not working
This commit is contained in:
parent
12295a6f68
commit
2d5cce9fdb
3 changed files with 8 additions and 2 deletions
|
@ -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))
|
||||
|
|
|
@ -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}`);
|
||||
|
||||
|
|
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue