Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site Settings: Add Disconnect Confirmation Page #18796

Merged
merged 22 commits into from
Oct 17, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Site Settings: hook up the Confirm Disconnection page
  • Loading branch information
AnnaMag authored and ockham committed Oct 16, 2017
commit 03ab0d6e3b39f964512816f6cfa295575575785c
5 changes: 5 additions & 0 deletions client/my-sites/site-settings/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import ReactDom from 'react-dom';
import AsyncLoad from 'components/async-load';
import config from 'config';
import DeleteSite from './delete-site';
import ConfirmDisconnection from './confirm-disconnection';
import DisconnectSite from './disconnect-site';
import purchasesPaths from 'me/purchases/paths';
import { renderWithReduxStore } from 'lib/react-helpers';
Expand Down Expand Up @@ -134,6 +135,10 @@ const controller = {
renderPage( context, <ThemeSetup /> );
},

confirmDisconnection( context ) {
renderPage( context, <ConfirmDisconnection /> );
},

manageConnection( context ) {
renderPage( context, <ManageConnection /> );
},
Expand Down