fix: replace "oops" with field name 🙈

This commit is contained in:
Roman Hotsiy 2018-05-18 17:29:23 +03:00
parent ffdb172b62
commit 6b1e8e75b0
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -40,7 +40,7 @@ export class Field extends React.PureComponent<FieldProps> {
onClick={this.toggle}
className={deprecated ? 'deprecated' : ''}
kind={kind}
title="Test"
title={name}
>
<PropertyBullet />
{name}
@ -48,7 +48,7 @@ export class Field extends React.PureComponent<FieldProps> {
{required && <RequiredLabel> required </RequiredLabel>}
</ClickablePropertyNameCell>
) : (
<PropertyNameCell className={deprecated ? 'deprecated' : undefined} kind={kind} title="oops">
<PropertyNameCell className={deprecated ? 'deprecated' : undefined} kind={kind} title={name}>
<PropertyBullet />
{name}
{required && <RequiredLabel> required </RequiredLabel>}