mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
add version display to extensions
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
d143b234b7
commit
30f7198c92
@ -27,6 +27,12 @@
|
||||
background: $layoutBackground;
|
||||
border-radius: $radius;
|
||||
|
||||
.version, .name {
|
||||
code {
|
||||
padding: unset;
|
||||
}
|
||||
}
|
||||
|
||||
.actions > button:not(:last-child) {
|
||||
margin-right: $spacing / 2;
|
||||
}
|
||||
|
||||
@ -446,7 +446,7 @@ export class Extensions extends React.Component {
|
||||
|
||||
return extensions.map(extension => {
|
||||
const { id, isEnabled, manifest } = extension;
|
||||
const { name, description } = manifest;
|
||||
const { name, description, version } = manifest;
|
||||
const isUninstalling = this.extensionStateStore.extensionState.get(id)?.state === "uninstalling";
|
||||
|
||||
return (
|
||||
@ -455,6 +455,9 @@ export class Extensions extends React.Component {
|
||||
<div className="name">
|
||||
{name}
|
||||
</div>
|
||||
<div className="version">
|
||||
Version: <code className="version">{version}</code>
|
||||
</div>
|
||||
<div className="description">
|
||||
{description}
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user