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:
parent
6f8a017bfb
commit
7129fe83da
6 changed files with 11 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue