fixing upgradeables

pull/5042/head
lianahus 4 months ago committed by Aniket
parent 369c4f0893
commit 7912c25d8d
  1. 2
      apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx

@ -175,7 +175,7 @@ export class TemplatesSelectionPlugin extends ViewPlugin {
<span className='text-truncate overflow-hidden whitespace-nowrap'>{item.displayName}</span>
</CustomTooltip>
<div className='d-flex flex-wrap'>
{(item.opts && item.opts.upgradeable && item.opts.upgradeable === 'uupds') && <span className='badgeForCell badge text-secondary'>Upgradeable-UUPS</span>}
{(item.opts && item.opts.upgradeable && item.opts.upgradeable === 'uups') && <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>}
{(item.opts && item.opts.pausable) && <span className='badgeForCell text-secondary'>pausable</span>}

Loading…
Cancel
Save