18559: Replace setup vm dialog with setup confirmation dialog
[arvados-workbench2.git] / src / views / user-profile-panel / user-profile-panel-root.tsx
index 4572a35225fb6c0a829aeebcf74d7357f2fbe5d5..febe0ab9b96b8701f9f03a6b8c4541fb7652e675 100644 (file)
@@ -69,7 +69,7 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
 });
 
 export interface UserProfilePanelRootActionProps {
-    openSetupShellAccount: (uuid: string) => void;
+    openSetupDialog: (uuid: string) => void;
     loginAs: (uuid: string) => void;
     openDeactivateDialog: (uuid: string) => void;
 }
@@ -305,7 +305,7 @@ export const UserProfilePanelRoot = withStyles(styles)(
                                     <Grid item sm={'auto'} xs={12}>
                                         <Button variant="contained"
                                             color="primary"
-                                            onClick={() => {this.props.openSetupShellAccount(this.props.initialValues.uuid)}}
+                                            onClick={() => {this.props.openSetupDialog(this.props.initialValues.uuid)}}
                                             disabled={false}>
                                             Setup Account
                                         </Button>