Adding friendly name to plugin screen.
This commit is contained in:
parent
8744d0a86c
commit
9e10aac786
|
@ -20,6 +20,9 @@
|
|||
? plugin.schema.schema.icon || "Book"
|
||||
: plugin.schema.schema.icon || "Beaker"
|
||||
|
||||
$: friendlyName =
|
||||
plugin?.schema?.friendlyName || plugin?.schema?.schema?.friendlyName
|
||||
|
||||
function pluginDeleted() {
|
||||
if (detailsModal) {
|
||||
detailsModal.hide()
|
||||
|
@ -41,6 +44,9 @@
|
|||
>
|
||||
{plugin.name}
|
||||
</Body>
|
||||
<Body size="XS" color="var(--spectrum-global-color-gray-900)">
|
||||
{friendlyName}
|
||||
</Body>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -65,6 +71,11 @@
|
|||
<Input disabled value={plugin.name} />
|
||||
</div>
|
||||
|
||||
<div class="details-row">
|
||||
<Label size="M">Friendly name</Label>
|
||||
<Input disabled value={friendlyName} />
|
||||
</div>
|
||||
|
||||
<div class="details-row">
|
||||
<Label size="M">Type</Label>
|
||||
<Input
|
||||
|
|
Loading…
Reference in New Issue