mirror of
https://github.com/pawelmalak/flame.git
synced 2026-02-28 01:13:11 +08:00
Fixed bug with fetching config. Pushed version 1.7.0
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user