1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-26 06:19:36 +02:00

Fixed bug with app description not updating. Fixed bug with local search prefix not working

This commit is contained in:
Paweł Malak 2022-02-14 13:22:41 +01:00
parent 12295a6f68
commit 2d5cce9fdb
3 changed files with 8 additions and 2 deletions

View file

@ -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}`);

View file

@ -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') {