X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9f0ec4b2faba84dad403a710ffd8d3567a4344af..109103ee47da299c04ffdcabebc38bcd665555d9:/src/views-components/dialog-create/dialog-project-create.tsx

diff --git a/src/views-components/dialog-create/dialog-project-create.tsx b/src/views-components/dialog-create/dialog-project-create.tsx
index 91e23bebbf..48b89115e4 100644
--- a/src/views-components/dialog-create/dialog-project-create.tsx
+++ b/src/views-components/dialog-create/dialog-project-create.tsx
@@ -73,7 +73,7 @@ class DialogProjectCreate extends React.Component<ProjectCreateProps & WithStyle
                   fullWidth />} />
           </DialogContent>
           <DialogActions>
-            <Button onClick={handleClose} className={classes.button} color="primary">CANCEL</Button>
+            <Button onClick={handleClose} className={classes.button} color="primary" disabled={pending}>CANCEL</Button>
             <Button onClick={this.handleSubmit} 
               className={classes.lastButton} 
               color="primary" 
