We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5e2b63 commit 6e1d78bCopy full SHA for 6e1d78b
src/components/screen/screen-manager.jsx
@@ -127,9 +127,12 @@ function ScreenManager({
127
* @returns {Array | null} A mapped array with group ids or null
128
*/
129
function mapGroups() {
130
- return formStateObject.inScreenGroups.map((group) => {
131
- return idFromUrl(group);
132
- });
+ if (formStateObject.inScreenGroups) {
+ return formStateObject.inScreenGroups.map((group) => {
+ return idFromUrl(group);
133
+ });
134
+ }
135
+ return [];
136
}
137
138
/**
@@ -254,7 +257,7 @@ function ScreenManager({
254
257
regions: mapPlaylistsWithRegion(),
255
258
}),
256
259
};
-
260
+ debugger;
261
setLoadingMessage(t("loading-messages.saving-screen"));
262
263
if (saveMethod === "POST") {
0 commit comments