mirror of
https://github.com/pawelmalak/flame.git
synced 2025-04-22 21:08:10 -04:00
Don't override user selected icon of a docker app
This commit is contained in:
parent
afc0f16470
commit
4da5a32c92
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ 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') {
|
||||
if (item.icon === 'custom' || app.icon != 'docker') {
|
||||
await app.update({
|
||||
name: item.name,
|
||||
url: item.url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue