Adding friendly name to plugin screen.
This commit is contained in:
parent
8744d0a86c
commit
9e10aac786
1 changed files with 11 additions and 0 deletions
|
@ -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 a new issue