mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-13 12:26:34 +03:00
fix: replace "oops" with field name 🙈
This commit is contained in:
parent
ffdb172b62
commit
6b1e8e75b0
|
@ -40,7 +40,7 @@ export class Field extends React.PureComponent<FieldProps> {
|
||||||
onClick={this.toggle}
|
onClick={this.toggle}
|
||||||
className={deprecated ? 'deprecated' : ''}
|
className={deprecated ? 'deprecated' : ''}
|
||||||
kind={kind}
|
kind={kind}
|
||||||
title="Test"
|
title={name}
|
||||||
>
|
>
|
||||||
<PropertyBullet />
|
<PropertyBullet />
|
||||||
{name}
|
{name}
|
||||||
|
@ -48,7 +48,7 @@ export class Field extends React.PureComponent<FieldProps> {
|
||||||
{required && <RequiredLabel> required </RequiredLabel>}
|
{required && <RequiredLabel> required </RequiredLabel>}
|
||||||
</ClickablePropertyNameCell>
|
</ClickablePropertyNameCell>
|
||||||
) : (
|
) : (
|
||||||
<PropertyNameCell className={deprecated ? 'deprecated' : undefined} kind={kind} title="oops">
|
<PropertyNameCell className={deprecated ? 'deprecated' : undefined} kind={kind} title={name}>
|
||||||
<PropertyBullet />
|
<PropertyBullet />
|
||||||
{name}
|
{name}
|
||||||
{required && <RequiredLabel> required </RequiredLabel>}
|
{required && <RequiredLabel> required </RequiredLabel>}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user