Add test coverage (#9928)

This commit is contained in:
Michael Weimann 2023-01-18 15:49:34 +01:00 committed by GitHub
parent baa120fff3
commit 6d354e3e10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 301 additions and 29 deletions

View file

@ -414,7 +414,7 @@ export class WidgetLayoutStore extends ReadyWatchingStore {
widgets.forEach((w, i) => {
localLayout[w.id] = {
container: container,
width: widths[i],
width: widths?.[i],
index: i,
height: height,
};
@ -437,7 +437,7 @@ export class WidgetLayoutStore extends ReadyWatchingStore {
widgets.forEach((w, i) => {
localLayout[w.id] = {
container: container,
width: widths[i],
width: widths?.[i],
index: i,
height: height,
};