[ARVADOS-WORKBENCH2] updated: 1.1.4-294-g4d124b2
Git user
git at public.curoverse.com
Mon Jul 16 06:41:28 EDT 2018
Summary of changes:
src/views/project-panel/project-panel.tsx | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
via 4d124b29e9f45d674c1cb784a4789ec980125bd1 (commit)
from b323a94f313671b44a066a2f91dea562e9464d10 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 4d124b29e9f45d674c1cb784a4789ec980125bd1
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date: Mon Jul 16 12:41:20 2018 +0200
deleted arrow funtion
Feature #13796
Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
diff --git a/src/views/project-panel/project-panel.tsx b/src/views/project-panel/project-panel.tsx
index 6666197..2fdb715 100644
--- a/src/views/project-panel/project-panel.tsx
+++ b/src/views/project-panel/project-panel.tsx
@@ -46,7 +46,7 @@ class ProjectPanel extends React.Component<ProjectPanelProps> {
<Button color="primary" variant="raised" className={classes.button}>
Run a process
</Button>
- <Button color="primary" onClick={() => onDialogOpen(currentItemId)} variant="raised" className={classes.button}>
+ <Button color="primary" onClick={this.handleNewProjectClick} variant="raised" className={classes.button}>
New project
</Button>
</div>
@@ -58,7 +58,10 @@ class ProjectPanel extends React.Component<ProjectPanelProps> {
extractKey={(item: ProjectPanelItem) => item.uuid} />
</div>;
}
-
+
+ handleNewProjectClick = () => {
+ this.props.onDialogOpen(this.props.currentItemId);
+ }
componentWillReceiveProps({ match, currentItemId, onItemRouteChange }: ProjectPanelProps) {
if (match.params.id !== currentItemId) {
onItemRouteChange(match.params.id);
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list