File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,14 @@ import PropTypes from 'prop-types';
4
4
import A4ALogo from 'calypso/a8c-for-agencies/components/a4a-logo' ;
5
5
import JetpackLogo from 'calypso/components/jetpack-logo' ;
6
6
import {
7
+ isCrowdsignalOAuth2Client ,
7
8
isWooOAuth2Client ,
8
9
isJetpackCloudOAuth2Client ,
9
10
isA4AOAuth2Client ,
10
11
isBlazeProOAuth2Client ,
11
12
} from 'calypso/lib/oauth2-clients' ;
12
13
import BlazeProOauthMasterbar from './blaze-pro' ;
14
+ import CrowdsignalOauthMasterbar from './crowdsignal' ;
13
15
import WooOauthMasterbar from './woo' ;
14
16
15
17
import './oauth-client.scss' ;
@@ -59,6 +61,10 @@ const DefaultOauthClientMasterbar = ( { oauth2Client } ) => (
59
61
) ;
60
62
61
63
const OauthClientMasterbar = ( { oauth2Client } ) => {
64
+ if ( isCrowdsignalOAuth2Client ( oauth2Client ) ) {
65
+ return < CrowdsignalOauthMasterbar oauth2Client = { oauth2Client } /> ;
66
+ }
67
+
62
68
if ( isWooOAuth2Client ( oauth2Client ) ) {
63
69
return < WooOauthMasterbar /> ;
64
70
}
You can’t perform that action at this time.
0 commit comments