File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
packages/dashboard-frontend/src Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ export type BrandingDocs = {
3333 faq ?: string ;
3434 storageTypes : string ;
3535 webSocketTroubleshooting : string ;
36- startWorkspaceFromGit : string ;
3736} ;
3837
3938export type BrandingConfiguration = {
@@ -84,8 +83,6 @@ export const BRANDING_DEFAULT: BrandingData = {
8483 'https://www.eclipse.org/che/docs/stable/end-user-guide/url-parameter-for-the-workspace-storage/' ,
8584 webSocketTroubleshooting :
8685 'https://www.eclipse.org/che/docs/stable/end-user-guide/troubleshooting-network-problems/' ,
87- startWorkspaceFromGit :
88- 'https://eclipse.dev/che/docs/stable/end-user-guide/starting-a-workspace-from-a-git-repository-url/' ,
8986 } ,
9087 configuration : { } ,
9188} ;
Original file line number Diff line number Diff line change 1212
1313import common from '@eclipse-che/common' ;
1414import { createAction } from '@reduxjs/toolkit' ;
15+ import cloneDeep from 'lodash/cloneDeep' ;
1516import merge from 'lodash/merge' ;
1617
1718import { fetchApiInfo , fetchBranding } from '@/services/assets/branding' ;
@@ -71,7 +72,7 @@ export const actionCreators = {
7172} ;
7273
7374export function getBrandingData ( receivedBranding ?: { [ key : string ] : any } ) : BrandingData {
74- let branding : BrandingData = Object . assign ( { } , BRANDING_DEFAULT ) ;
75+ let branding : BrandingData = cloneDeep ( BRANDING_DEFAULT ) ;
7576
7677 if ( receivedBranding && Object . keys ( receivedBranding ) . length > 0 ) {
7778 branding = merge ( branding , receivedBranding ) ;
You can’t perform that action at this time.
0 commit comments