|
|
|
@ -167,14 +167,14 @@ export class TemplatesSelectionPlugin extends ViewPlugin { |
|
|
|
|
id={item.name} |
|
|
|
|
searchKeywords={[item.displayName, item.description, template.name]} |
|
|
|
|
tagList={item.tagList} |
|
|
|
|
classList='TSCellStyle' |
|
|
|
|
classList={'TSCellStyle' + (!item.description ? 'Short' : '')} |
|
|
|
|
> |
|
|
|
|
<div className='d-flex justify-content-between h-100 flex-column'> |
|
|
|
|
<div className='d-flex flex-column'> |
|
|
|
|
<div> |
|
|
|
|
{item.description && <span className='text-dark'>{item.description}</span>} |
|
|
|
|
</div> |
|
|
|
|
<div className='d-flex flex-wrap'> |
|
|
|
|
<div className='d-flex flex-wrap mb-2'> |
|
|
|
|
{(item.opts && item.opts.upgradeable && item.opts.upgradeable === 'uupds') && <span className='badgeForCell badge text-secondary'>Upgradeable-UUPS</span>} |
|
|
|
|
{(item.opts && item.opts.mintable) && <span className='badgeForCell text-secondary'>mintable</span>} |
|
|
|
|
{(item.opts && item.opts.burnable) && <span className='badgeForCell text-secondary'>burnable</span>} |
|
|
|
|