setup complete fix and minor copy changes

return SetupResult on setup.complete
This commit is contained in:
Drew Ansbacher
2022-02-27 19:07:43 -07:00
committed by Aiden McClelland
parent df16943502
commit 61ee46f289
21 changed files with 456 additions and 406 deletions

View File

@@ -26,9 +26,6 @@ export class MarkdownPage {
if (!this.content) {
this.content = await this.embassyApi.getStatic(this.contentUrl)
}
} catch (e) {
this.loadingError = getErrorMessage(e)
} finally {
this.loading = false
await pauseFor(50)
const links = document.links
@@ -39,6 +36,9 @@ export class MarkdownPage {
links[i].className += ' externalLink'
}
}
} catch (e) {
this.loadingError = getErrorMessage(e)
this.loading = false
}
}

View File

@@ -110,7 +110,7 @@ export class AppShowStatusComponent {
const { id, title, version } = this.pkg.manifest
const hasDependents = !!Object.keys(
this.pkg.installed['current-dependents'],
).filter(depId => depId !== this.pkg.manifest.id).length
).filter(depId => depId !== id).length
if (!hasDependents) {
const loader = await this.loadingCtrl.create({