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