Fixed bug with fetching config. Pushed version 1.7.0
This commit is contained in:
parent
6f8a017bfb
commit
7129fe83da
6 changed files with 11 additions and 5 deletions
2
.env
2
.env
|
@ -1,3 +1,3 @@
|
|||
PORT=5005
|
||||
NODE_ENV=development
|
||||
VERSION=1.6.9
|
||||
VERSION=1.7.0
|
|
@ -1,8 +1,10 @@
|
|||
### v1.7.0 (TBA)
|
||||
### v1.7.0 (2021-10-11)
|
||||
- Search bar will now redirect if valid URL or IP is provided ([#67](https://github.com/pawelmalak/flame/issues/67))
|
||||
- Users can now add their custom search providers ([#71](https://github.com/pawelmalak/flame/issues/71))
|
||||
- Fixed bug related to creating new apps/bookmarks with custom icon ([#83](https://github.com/pawelmalak/flame/issues/83))
|
||||
- URL can now be assigned to notifications. Clicking on "New version is available" popup will now redirect to changelog ([#86](https://github.com/pawelmalak/flame/issues/86))
|
||||
- Added static fonts ([#94](https://github.com/pawelmalak/flame/issues/94))
|
||||
- Fixed bug with overriding app icon created with docker labels
|
||||
|
||||
### v1.6.9 (2021-10-09)
|
||||
- Added option for remote docker host ([#97](https://github.com/pawelmalak/flame/issues/97))
|
||||
|
|
|
@ -1 +1 @@
|
|||
REACT_APP_VERSION=1.6.9
|
||||
REACT_APP_VERSION=1.7.0
|
|
@ -46,7 +46,7 @@ const SearchSettings = (props: Props): JSX.Element => {
|
|||
useEffect(() => {
|
||||
setFormData({
|
||||
hideSearch: searchConfig('hideSearch', 0),
|
||||
defaultSearchProvider: searchConfig('defaultSearchProvider', 'd'),
|
||||
defaultSearchProvider: searchConfig('defaultSearchProvider', 'l'),
|
||||
searchSameTab: searchConfig('searchSameTab', 0),
|
||||
});
|
||||
}, [props.loading]);
|
||||
|
|
|
@ -17,6 +17,7 @@ const getConfig = (state: State, action: Action): State => {
|
|||
return {
|
||||
...state,
|
||||
loading: false,
|
||||
config: action.payload,
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -131,7 +131,10 @@ exports.getApps = asyncWrapper(async (req, res, next) => {
|
|||
if (apps.some((app) => app.name === item.name)) {
|
||||
const app = apps.filter((e) => e.name === item.name)[0];
|
||||
|
||||
if (item.icon === 'custom' || (item.icon === 'docker' && app.icon != 'docker')) {
|
||||
if (
|
||||
item.icon === 'custom' ||
|
||||
(item.icon === 'docker' && app.icon != 'docker')
|
||||
) {
|
||||
await app.update({
|
||||
name: item.name,
|
||||
url: item.url,
|
||||
|
|
Loading…
Reference in a new issue