parent
d8618eab30
commit
461d8697ca
@ -14,7 +14,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"brok": "^2.0.0",
|
"brok": "^2.0.0",
|
||||||
"brule": "^3.1.0",
|
"brule": "^3.1.0",
|
||||||
"cloudapi-gql": "^6.1.0",
|
"cloudapi-gql": "^6.1.1",
|
||||||
"hapi": "^17.2.0",
|
"hapi": "^17.2.0",
|
||||||
"hapi-triton-auth": "^1.0.0",
|
"hapi-triton-auth": "^1.0.0",
|
||||||
"inert": "^5.1.0",
|
"inert": "^5.1.0",
|
||||||
|
@ -151,7 +151,7 @@ export default compose(
|
|||||||
handleEdit: () => {
|
handleEdit: () => {
|
||||||
return history.push(`/~create/tags${history.location.search}`);
|
return history.push(`/~create/tags${history.location.search}`);
|
||||||
},
|
},
|
||||||
shouldAsyncValidate: ({ trigger }) => trigger === 'change',
|
shouldAsyncValidate: ({ trigger }) => trigger === 'submit',
|
||||||
handleAsyncValidate: async ({ name = '', value = '' }) => {
|
handleAsyncValidate: async ({ name = '', value = '' }) => {
|
||||||
const isNameValid = /^[a-zA-Z_.-]{1,16}$/.test(name);
|
const isNameValid = /^[a-zA-Z_.-]{1,16}$/.test(name);
|
||||||
const isValueValid = /^[a-zA-Z_.-]{1,16}$/.test(value);
|
const isValueValid = /^[a-zA-Z_.-]{1,16}$/.test(value);
|
||||||
|
@ -214,7 +214,7 @@ export default compose(
|
|||||||
handleToggleEditing: value => {
|
handleToggleEditing: value => {
|
||||||
return dispatch(set({ name: `editing-tag`, value }));
|
return dispatch(set({ name: `editing-tag`, value }));
|
||||||
},
|
},
|
||||||
shouldAsyncValidate: ({ trigger }) => trigger === 'change',
|
shouldAsyncValidate: ({ trigger }) => trigger === 'submit',
|
||||||
handleAsyncValidate: async ({ name = '', value = '' }) => {
|
handleAsyncValidate: async ({ name = '', value = '' }) => {
|
||||||
const isNameValid = /^[a-zA-Z_.-]{1,16}$/.test(name);
|
const isNameValid = /^[a-zA-Z_.-]{1,16}$/.test(name);
|
||||||
const isValueValid = /^[a-zA-Z_.-]{1,16}$/.test(value);
|
const isValueValid = /^[a-zA-Z_.-]{1,16}$/.test(value);
|
||||||
|
@ -2542,9 +2542,9 @@ clone@^1.0.2:
|
|||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.3.tgz#298d7e2231660f40c003c2ed3140decf3f53085f"
|
resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.3.tgz#298d7e2231660f40c003c2ed3140decf3f53085f"
|
||||||
|
|
||||||
cloudapi-gql@^6.1.0:
|
cloudapi-gql@^6.1.1:
|
||||||
version "6.1.0"
|
version "6.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/cloudapi-gql/-/cloudapi-gql-6.1.0.tgz#898da3ab7684b8378eb79c5aa42073b0465318e8"
|
resolved "https://registry.yarnpkg.com/cloudapi-gql/-/cloudapi-gql-6.1.1.tgz#2f48b12b2f96612f62759eac6c5280573bc4ba49"
|
||||||
dependencies:
|
dependencies:
|
||||||
apr-map "3.x.x"
|
apr-map "3.x.x"
|
||||||
boom "7.x.x"
|
boom "7.x.x"
|
||||||
|
Loading…
Reference in New Issue
Block a user