Remove tag editing from main screen (#2605)
This commit is contained in:
parent
14ad39fe79
commit
c9e77ae9f2
@ -223,16 +223,13 @@ function Account ({ account: { address, meta }, className, filter, isFavorite, s
|
|||||||
<CryptoType accountId={address} />
|
<CryptoType accountId={address} />
|
||||||
</td>
|
</td>
|
||||||
<td className='all'>
|
<td className='all'>
|
||||||
<div className='tags--toggle'>
|
<div className='tags'>
|
||||||
{tags.length
|
{tags.map((tag): React.ReactNode => (
|
||||||
? tags.map((tag): React.ReactNode => (
|
<Tag
|
||||||
<Tag
|
key={tag}
|
||||||
key={tag}
|
label={tag}
|
||||||
label={tag}
|
/>
|
||||||
/>
|
))}
|
||||||
))
|
|
||||||
: <label>{t('no tags')}</label>
|
|
||||||
}
|
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td className='number'>
|
<td className='number'>
|
||||||
@ -341,21 +338,8 @@ function Account ({ account: { address, meta }, className, filter, isFavorite, s
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default React.memo(styled(Account)`
|
export default React.memo(styled(Account)`
|
||||||
.accounts--Account-buttons {
|
.tags {
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tags--toggle {
|
|
||||||
cursor: pointer;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 1.5rem;
|
min-height: 1.5rem;
|
||||||
|
|
||||||
label {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.name--input {
|
|
||||||
width: 16rem;
|
|
||||||
}
|
}
|
||||||
`);
|
`);
|
||||||
|
|||||||
@ -179,15 +179,12 @@ function Address ({ address, className, filter, isFavorite, toggleFavorite }: Pr
|
|||||||
</td>
|
</td>
|
||||||
<td className='all'>
|
<td className='all'>
|
||||||
<div className='tags'>
|
<div className='tags'>
|
||||||
{tags.length
|
{tags.map((tag): React.ReactNode => (
|
||||||
? tags.map((tag): React.ReactNode => (
|
<Tag
|
||||||
<Tag
|
key={tag}
|
||||||
key={tag}
|
label={tag}
|
||||||
label={tag}
|
/>
|
||||||
/>
|
))}
|
||||||
))
|
|
||||||
: <label>{t('no tags')}</label>
|
|
||||||
}
|
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td className='number'>
|
<td className='number'>
|
||||||
@ -261,16 +258,8 @@ function Address ({ address, className, filter, isFavorite, toggleFavorite }: Pr
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default React.memo(styled(Address)`
|
export default React.memo(styled(Address)`
|
||||||
.addresses--Address-buttons {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tags {
|
.tags {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 1.5rem;
|
min-height: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.name--input {
|
|
||||||
width: 16rem;
|
|
||||||
}
|
|
||||||
`);
|
`);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user