[ARVADOS-WORKBENCH2] updated: 1.1.4-342-g37ebbbd
Git user
git at public.curoverse.com
Mon Jul 23 02:43:07 EDT 2018
Summary of changes:
src/views/project-panel/project-panel.tsx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
via 37ebbbd4f05f811582546823738619f1fbb97686 (commit)
from 355aa79f1a2abb5e8142062d83f897d780cc8a8e (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 37ebbbd4f05f811582546823738619f1fbb97686
Author: Janicki Artur <artur.janicki at contractors.roche.com>
Date: Mon Jul 23 08:38:15 2018 +0200
back to previous names for const methods
Feature #13797
Arvados-DCO-1.1-Signed-off-by: Janicki Artur <artur.janicki at contractors.roche.com>
diff --git a/src/views/project-panel/project-panel.tsx b/src/views/project-panel/project-panel.tsx
index 403c2b8..3bc4656 100644
--- a/src/views/project-panel/project-panel.tsx
+++ b/src/views/project-panel/project-panel.tsx
@@ -86,10 +86,10 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
},
});
-const RENDER_NAME = (item: ProjectPanelItem) =>
+const renderName = (item: ProjectPanelItem) =>
<Grid container alignItems="center" wrap="nowrap" spacing={16}>
<Grid item>
- {RENDER_ICON(item)}
+ {renderIcon(item)}
</Grid>
<Grid item>
<Typography color="primary">
@@ -99,7 +99,7 @@ const RENDER_NAME = (item: ProjectPanelItem) =>
</Grid>;
-const RENDER_ICON = (item: ProjectPanelItem) => {
+const renderIcon = (item: ProjectPanelItem) => {
switch (item.kind) {
case ResourceKind.Project:
return <ProjectIcon />;
@@ -151,7 +151,7 @@ export const columns: DataColumns<ProjectPanelItem, ProjectPanelFilter> = [
name: ProjectPanelColumnNames.NAME,
selected: true,
sortDirection: SortDirection.Asc,
- render: RENDER_NAME,
+ render: renderName,
width: "450px"
},
{
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list