1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-19 03:29:37 +02:00

Fixed bug with fetching config. Pushed version 1.7.0

This commit is contained in:
Paweł Malak 2021-10-11 15:15:26 +02:00
parent 6f8a017bfb
commit 7129fe83da
6 changed files with 11 additions and 5 deletions

View file

@ -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,