@lvce-editor/running-extensions-view 1.20.0 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2318,6 +2318,7 @@ const getIconVirtualDom = extension => {
2318
2318
  };
2319
2319
 
2320
2320
  const sshRemotePrefix = 'ssh-remote+';
2321
+ const undefinedValue = 'undefined';
2321
2322
  const activationReasonNode = {
2322
2323
  childCount: 1,
2323
2324
  className: RunningExtensionActivationReason,
@@ -2397,7 +2398,7 @@ const getClassName = (focused, selected) => {
2397
2398
  };
2398
2399
  const getExtensionVirtualDom = (extension, focused = false, selected = false) => {
2399
2400
  const displayName = typeof extension.name === 'string' && extension.name ? extension.name : extension.id;
2400
- const displayVersion = typeof extension.version === 'string' ? extension.version : '';
2401
+ const displayVersion = typeof extension.version === 'string' && extension.version !== undefinedValue ? extension.version : '';
2401
2402
  const activationReasonDom = getActivationReasonVirtualDom(extension.activationEvent);
2402
2403
  const statusDom = getStatusVirtualDom(extension);
2403
2404
  const remoteAuthorityDom = getRemoteAuthorityVirtualDom(extension.remoteAuthority);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/running-extensions-view",
3
- "version": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "description": "Running Extensions View Worker",
5
5
  "repository": {
6
6
  "type": "git",