From d5edb137ad58ccb421663448dab2299b93ae4f4a Mon Sep 17 00:00:00 2001 From: lianahus Date: Tue, 16 Jul 2024 16:23:05 +0200 Subject: [PATCH] adding more info to templates. --- .../templates-selection-plugin.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx b/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx index 013ae3ca63..bbc852beb8 100644 --- a/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx +++ b/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx @@ -168,22 +168,22 @@ export class TemplatesSelectionPlugin extends ViewPlugin { >
- {false && {item.displayName} - } -
+ +
{(item.displayName && !item.description) && {item.displayName}} {item.description && {item.description}} -
- {(item.opts && item.opts.upgradeable && item.opts.upgradeable === 'uups') && Upgradeable-UUPS} - {(item.opts && item.opts.mintable) && mintable} - {(item.opts && item.opts.burnable) && burnable} - {(item.opts && item.opts.pausable) && pausable} -
+
+
+ {(item.opts && item.opts.upgradeable && item.opts.upgradeable === 'uupds') && Upgradeable-UUPS} + {(item.opts && item.opts.mintable) && mintable} + {(item.opts && item.opts.burnable) && burnable} + {(item.opts && item.opts.pausable) && pausable}