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
4 changed files with 301 additions and 29 deletions
+2 -2
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,
};