manifest in dependency-onfo

This commit is contained in:
Matt Hill
2021-08-09 20:52:26 -06:00
parent 10d3f3b589
commit bd7149491f
4 changed files with 7 additions and 7 deletions

View File

@@ -79,7 +79,7 @@
<img [src]="pkg.installed['dependency-info'][dep.key].icon" />
</ion-thumbnail>
<ion-label class="ion-text-wrap">
<h2 style="font-family: 'Montserrat'">{{ pkg.installed['dependency-info'][dep.key].title }}</h2>
<h2 style="font-family: 'Montserrat'">{{ pkg.installed['dependency-info'][dep.key].manifest.title }}</h2>
<p>{{ pkg.manifest.dependencies[dep.key].version | displayEmver }}</p>
<p><ion-text [color]="pkg.installed.status['dependency-errors'][dep.key] ? 'warning' : 'success'">{{ pkg.installed.status['dependency-errors'][dep.key] ? pkg.installed.status['dependency-errors'][dep.key].type : 'satisfied' }}</ion-text></p>
</ion-label>

View File

@@ -164,7 +164,7 @@ export class AppShowPage {
}
private async installDep (depId: string): Promise<void> {
const title = this.pkg.installed['dependency-info'][depId].title
const title = this.pkg.installed['dependency-info'][depId].manifest.title
const version = this.pkg.manifest.dependencies[depId].version
const dependentTitle = this.pkg.manifest.title