From 1b1fd40e0888c08d46b61502d971502db4a3e2e0 Mon Sep 17 00:00:00 2001 From: Aaron Greenspan Date: Tue, 12 Jan 2021 12:24:12 -0700 Subject: [PATCH] ui: adds logs, disables .local tabs --- .../app-installed-list/app-installed-list.page.html | 2 +- .../apps-routes/app-installed-list/app-installed-list.page.ts | 3 +++ .../app-installed-show/app-installed-show.page.html | 2 +- .../apps-routes/app-installed-show/app-installed-show.page.ts | 3 +++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ui/src/app/pages/apps-routes/app-installed-list/app-installed-list.page.html b/ui/src/app/pages/apps-routes/app-installed-list/app-installed-list.page.html index 10da9862e..5f1af7edc 100644 --- a/ui/src/app/pages/apps-routes/app-installed-list/app-installed-list.page.html +++ b/ui/src/app/pages/apps-routes/app-installed-list/app-installed-list.page.html @@ -24,7 +24,7 @@ - + diff --git a/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.ts b/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.ts index 15b6224c8..2c62c917e 100644 --- a/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.ts +++ b/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.ts @@ -35,6 +35,7 @@ export class AppInstalledShowPage extends Cleanup { AppStatus = AppStatus showInstructions = false isConsulate: boolean + isTor: boolean dependencyDefintion = () => `Dependencies are other services which must be installed, configured appropriately, and started in order to start ${this.app.title.getValue()}` launchDefinition = () => `Launch A Service

This button appears only for services that can be accessed inside the browser. If a service does not have this button, you must access it using another interface, such as a mobile app, desktop app, or another service on the Embassy. Please view the instructions for a service for details on how to use it.

` @@ -59,6 +60,7 @@ export class AppInstalledShowPage extends Cleanup { ) { super() this.isConsulate = config.isConsulateIos || config.isConsulateAndroid + this.isTor = config.isTor() } async ngOnInit () { @@ -101,6 +103,7 @@ export class AppInstalledShowPage extends Cleanup { async launchUiTab () { const uiAddress = this.app.torAddress.getValue() + console.log('launching', uiAddress) return window.open(uiAddress, '_blank') }