mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
no more logs
This commit is contained in:
committed by
Aiden McClelland
parent
033af493ab
commit
313729146e
@@ -143,7 +143,6 @@ export class AppActionsPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async executeAction (pkgId: string, actionId: string, input?: object): Promise<boolean> {
|
private async executeAction (pkgId: string, actionId: string, input?: object): Promise<boolean> {
|
||||||
console.log('executing action')
|
|
||||||
const loader = await this.loadingCtrl.create({
|
const loader = await this.loadingCtrl.create({
|
||||||
spinner: 'lines',
|
spinner: 'lines',
|
||||||
message: 'Executing action...',
|
message: 'Executing action...',
|
||||||
|
|||||||
@@ -122,7 +122,6 @@ export class AppPropertiesPage {
|
|||||||
this.properties = await this.embassyApi.getPackageProperties({ id: this.pkgId })
|
this.properties = await this.embassyApi.getPackageProperties({ id: this.pkgId })
|
||||||
this.node = JsonPointer.get(this.properties, this.pointer || '')
|
this.node = JsonPointer.get(this.properties, this.pointer || '')
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log('catching')
|
|
||||||
this.errToast.present(e)
|
this.errToast.present(e)
|
||||||
} finally {
|
} finally {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|||||||
@@ -50,14 +50,6 @@ export class ConfigService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
isLaunchable (state: PackageState, status: PackageMainStatus, interfaces: { [id: string]: InterfaceDef }): boolean {
|
isLaunchable (state: PackageState, status: PackageMainStatus, interfaces: { [id: string]: InterfaceDef }): boolean {
|
||||||
console.log('is launchable', this.isLaunchable)
|
|
||||||
console.log('state', state)
|
|
||||||
console.log('status', status)
|
|
||||||
console.log('ret val', status === PackageMainStatus.Running &&
|
|
||||||
(
|
|
||||||
(hasTorUi(interfaces) && this.isTor()) ||
|
|
||||||
(hasLanUi(interfaces) && !this.isTor())
|
|
||||||
))
|
|
||||||
if (this.isConsulate || state !== PackageState.Installed) {
|
if (this.isConsulate || state !== PackageState.Installed) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user