0

Prettified Code!

This commit is contained in:
gabek 2021-07-02 23:07:40 +00:00 committed by GitHub Action
parent a84aa72ee4
commit bcd46cee61

View File

@ -38,10 +38,10 @@ function checkSaveable(formValues: any, currentValues: any) {
accessKey !== currentValues.accessKey || accessKey !== currentValues.accessKey ||
secret !== currentValues.secret || secret !== currentValues.secret ||
region !== currentValues.region || region !== currentValues.region ||
(!currentValues.servingEndpoint && (servingEndpoint !=='')) || (!currentValues.servingEndpoint && servingEndpoint !== '') ||
(!!currentValues.servingEndpoint && (servingEndpoint !== currentValues.servingEndpoint)) || (!!currentValues.servingEndpoint && servingEndpoint !== currentValues.servingEndpoint) ||
(!currentValues.acl && (acl !== '')) || (!currentValues.acl && acl !== '') ||
(!!currentValues.acl && (acl !== currentValues.acl)) (!!currentValues.acl && acl !== currentValues.acl)
) { ) {
return true; return true;
} }