Skip to content

Commit 3c46b95

Browse files
authored
Merge pull request #4289 from easyops-cn/sailorshe/v3/fixV2EditorLoadFail
fix(): v2 editor load fail
2 parents c08e170 + d5f03a4 commit 3c46b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/loader/src/stableLoadBricks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ async function enqueueStableLoad(
212212
): Promise<void> {
213213
const brickPackagesMap = new Map<string, BrickPackage>();
214214
for (const pkg of brickPackages) {
215-
const pkgId = pkg.id ?? getPkgIdByFilePath(pkg.filePath);
215+
const pkgId = pkg.id || getPkgIdByFilePath(pkg.filePath);
216216
brickPackagesMap.set(pkgId, pkg);
217217
}
218218

0 commit comments

Comments
 (0)