mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
handle case where dependency-info is missing entry (#1252)
* handle case where dependency-info is missing entry * assume entry is always there
This commit is contained in:
@@ -109,7 +109,7 @@ export class ToDependenciesPipe implements PipeTransform {
|
||||
return {
|
||||
id,
|
||||
version: pkg.manifest.dependencies[id].version,
|
||||
title: depInfo.manifest.title,
|
||||
title: depInfo.manifest?.title || id,
|
||||
icon: depInfo.icon,
|
||||
errorText,
|
||||
actionText,
|
||||
|
||||
@@ -2019,10 +2019,6 @@ export module Mock {
|
||||
},
|
||||
},
|
||||
'dependency-info': {
|
||||
lnd: {
|
||||
manifest: Mock.MockManifestLnd,
|
||||
icon: 'assets/img/service-icons/lnd.png',
|
||||
},
|
||||
bitcoind: {
|
||||
manifest: Mock.MockManifestBitcoind,
|
||||
icon: 'assets/img/service-icons/bitcoind.png',
|
||||
|
||||
Reference in New Issue
Block a user