diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-07-31 19:14:20 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-31 19:14:20 +0900 |
| commit | 2b4c8c9e0f9c9b25c0829595132650519476972c (patch) | |
| tree | 51396d8ba9f9fbe8c6c65b7aedd4ab516035f66f /packages/backend/src/core/FetchInstanceMetadataService.ts | |
| parent | enhance(frontend): 押したリアクションのデザインを改善 (#11434) (diff) | |
| download | sharkey-2b4c8c9e0f9c9b25c0829595132650519476972c.tar.gz sharkey-2b4c8c9e0f9c9b25c0829595132650519476972c.tar.bz2 sharkey-2b4c8c9e0f9c9b25c0829595132650519476972c.zip | |
update deps (#11409)
* update deps
* Update .eslintrc.js
* Update .eslintrc.js
* lint
* lint
* Update update.ts
* update deps
* Update .eslintrc.js
Diffstat (limited to 'packages/backend/src/core/FetchInstanceMetadataService.ts')
| -rw-r--r-- | packages/backend/src/core/FetchInstanceMetadataService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/FetchInstanceMetadataService.ts b/packages/backend/src/core/FetchInstanceMetadataService.ts index cf3ebbebfa..22309f230f 100644 --- a/packages/backend/src/core/FetchInstanceMetadataService.ts +++ b/packages/backend/src/core/FetchInstanceMetadataService.ts @@ -108,7 +108,7 @@ export class FetchInstanceMetadataService { if (name) updates.name = name; if (description) updates.description = description; - if (icon || favicon) updates.iconUrl = (icon && !icon.includes('data:image/png;base64')) ? icon : favicon; + if (icon ?? favicon) updates.iconUrl = (icon && !icon.includes('data:image/png;base64')) ? icon : favicon; if (favicon) updates.faviconUrl = favicon; if (themeColor) updates.themeColor = themeColor; |