|
@@ -17,45 +17,7 @@ MiddlewareRegistry.register(store => next => action => {
|
17
|
17
|
}
|
18
|
18
|
|
19
|
19
|
case SET_DYNAMIC_BRANDING_DATA: {
|
20
|
|
- const {
|
21
|
|
- avatarBackgrounds = [],
|
22
|
|
- backgroundColor,
|
23
|
|
- backgroundImageUrl,
|
24
|
|
- brandedIcons,
|
25
|
|
- customParticipantMenuButtons,
|
26
|
|
- customToolbarButtons,
|
27
|
|
- didPageUrl,
|
28
|
|
- downloadAppsUrl,
|
29
|
|
- etherpadBase,
|
30
|
|
- inviteDomain,
|
31
|
|
- labels,
|
32
|
|
- liveStreamingDialogUrls,
|
33
|
|
- peopleSearchUrl,
|
34
|
|
- salesforceUrl,
|
35
|
|
- sharedVideoAllowedURLDomains,
|
36
|
|
- supportUrl,
|
37
|
|
- userDocumentationUrl,
|
38
|
|
- } = action.value;
|
39
|
|
-
|
40
|
|
- action.value = {
|
41
|
|
- avatarBackgrounds,
|
42
|
|
- backgroundColor,
|
43
|
|
- backgroundImageUrl,
|
44
|
|
- brandedIcons,
|
45
|
|
- customParticipantMenuButtons,
|
46
|
|
- customToolbarButtons,
|
47
|
|
- didPageUrl,
|
48
|
|
- downloadAppsUrl,
|
49
|
|
- etherpadBase,
|
50
|
|
- inviteDomain,
|
51
|
|
- labels,
|
52
|
|
- liveStreamingDialogUrls,
|
53
|
|
- peopleSearchUrl,
|
54
|
|
- salesforceUrl,
|
55
|
|
- sharedVideoAllowedURLDomains,
|
56
|
|
- supportUrl,
|
57
|
|
- userDocumentationUrl
|
58
|
|
- };
|
|
20
|
+ const { avatarBackgrounds = [] } = action.value;
|
59
|
21
|
|
60
|
22
|
// The backend may send an empty string, make sure we skip that.
|
61
|
23
|
if (Array.isArray(avatarBackgrounds)) {
|