[ARVADOS-WORKBENCH2] updated: 1.2.0-438-g6f47985
Git user
git at public.curoverse.com
Wed Sep 26 09:58:58 EDT 2018
Summary of changes:
src/validators/validators.tsx | 1 -
src/views-components/form-fields/project-form-fields.tsx | 3 +--
2 files changed, 1 insertion(+), 3 deletions(-)
via 6f479854450415418e524808ce07ac8a0bac56da (commit)
from f05ff87a5a04b0a6c45c2cba0b492c561de2e651 (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 6f479854450415418e524808ce07ac8a0bac56da
Author: Janicki Artur <artur.janicki at contractors.roche.com>
Date: Wed Sep 26 15:58:47 2018 +0200
remove validation for project description
Feature #14120
Arvados-DCO-1.1-Signed-off-by: Janicki Artur <artur.janicki at contractors.roche.com>
diff --git a/src/validators/validators.tsx b/src/validators/validators.tsx
index 755cd7f..edc4726 100644
--- a/src/validators/validators.tsx
+++ b/src/validators/validators.tsx
@@ -9,7 +9,6 @@ export const TAG_KEY_VALIDATION = [require, maxLength(255)];
export const TAG_VALUE_VALIDATION = [require, maxLength(255)];
export const PROJECT_NAME_VALIDATION = [require, maxLength(255)];
-export const PROJECT_DESCRIPTION_VALIDATION = [maxLength(255)];
export const COLLECTION_NAME_VALIDATION = [require, maxLength(255)];
export const COLLECTION_DESCRIPTION_VALIDATION = [maxLength(255)];
diff --git a/src/views-components/form-fields/project-form-fields.tsx b/src/views-components/form-fields/project-form-fields.tsx
index 5bf59c7..8243cfe 100644
--- a/src/views-components/form-fields/project-form-fields.tsx
+++ b/src/views-components/form-fields/project-form-fields.tsx
@@ -5,7 +5,7 @@
import * as React from "react";
import { Field } from "redux-form";
import { TextField, RichEditorTextField } from "~/components/text-field/text-field";
-import { PROJECT_NAME_VALIDATION, PROJECT_DESCRIPTION_VALIDATION } from "~/validators/validators";
+import { PROJECT_NAME_VALIDATION } from "~/validators/validators";
export const ProjectNameField = () =>
<Field
@@ -19,5 +19,4 @@ export const ProjectDescriptionField = () =>
<Field
name='description'
component={RichEditorTextField}
- validate={PROJECT_DESCRIPTION_VALIDATION}
label="Description - optional" />;
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list