Skip to content

Commit 4a3279d

Browse files
unnest accidentally nested loop
this is unrelated to #12564, fixing it anyway to reduce confusion
1 parent fc08804 commit 4a3279d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/core/brand/brand.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,12 @@ export class Brand {
158158
if (v) {
159159
logo[size] = v;
160160
}
161-
for (const [key, value] of Object.entries(data.logo?.images ?? {})) {
162-
if (typeof value === "string") {
163-
logo.images[key] = { path: value };
164-
} else {
165-
logo.images[key] = value;
166-
}
161+
}
162+
for (const [key, value] of Object.entries(data.logo?.images ?? {})) {
163+
if (typeof value === "string") {
164+
logo.images[key] = { path: value };
165+
} else {
166+
logo.images[key] = value;
167167
}
168168
}
169169

0 commit comments

Comments
 (0)