Skip to content

Commit 43c7d55

Browse files
committed
fix(addons): Show connected addon icon after oauth
1 parent 6a2d78e commit 43c7d55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/shared/stores/addons/addons.state.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@ export class AddonsState {
181181
const existing = state.authorizedStorageAddons.data.find(
182182
(existingAddon: AuthorizedAccountModel) => existingAddon.id === addon.id
183183
);
184+
185+
if (existing && !addon.iconUrl) {
186+
addon.iconUrl = existing.iconUrl;
187+
}
184188
const updatedData = existing
185189
? state.authorizedStorageAddons.data.map((existingAddon: AuthorizedAccountModel) =>
186190
existingAddon.id === addon.id ? { ...existingAddon, ...addon } : existingAddon

0 commit comments

Comments
 (0)