mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
fix types
This commit is contained in:
committed by
Aiden McClelland
parent
15936db81e
commit
82928fe3ba
@@ -1,13 +1,13 @@
|
||||
import { Component, Input, ViewChild } from '@angular/core'
|
||||
import { ActivatedRoute } from '@angular/router'
|
||||
import { IonContent, ToastController } from '@ionic/angular'
|
||||
import { InterfaceDef, InterfaceInfo } from 'src/app/services/patch-db/data-model'
|
||||
import { InstalledPackageDataEntry, InterfaceDef } from 'src/app/services/patch-db/data-model'
|
||||
import { PatchDbService } from 'src/app/services/patch-db/patch-db.service'
|
||||
import { copyToClipboard } from 'src/app/util/web.util'
|
||||
|
||||
interface LocalInterface {
|
||||
def: InterfaceDef
|
||||
addresses: InterfaceInfo['addresses'][string]
|
||||
addresses: InstalledPackageDataEntry['interface-addresses'][string]
|
||||
}
|
||||
|
||||
@Component({
|
||||
@@ -29,7 +29,7 @@ export class AppInterfacesPage {
|
||||
const pkgId = this.route.snapshot.paramMap.get('pkgId')
|
||||
const pkg = this.patch.data['package-data'][pkgId]
|
||||
const interfaces = pkg.manifest.interfaces
|
||||
const addressesMap = pkg.installed['interface-info'].addresses
|
||||
const addressesMap = pkg.installed['interface-addresses']
|
||||
const ui = interfaces['ui']
|
||||
|
||||
if (ui) {
|
||||
|
||||
Reference in New Issue
Block a user