bug fix and readme revert

This commit is contained in:
Drew Ansbacher
2021-11-30 13:32:30 -07:00
committed by Aiden McClelland
parent 8b28ad2ca5
commit 91cf6f9a5d
2 changed files with 2 additions and 11 deletions

View File

@@ -22,15 +22,6 @@ v8.0.0
`cargo run -- -vvv -c example-config.toml`
*Note:* If you have "SSL connect error" on Window while running cargo
command create a file `config` in `C:\Users\%username%\.cargo`
and add following lines there:
```
[http]
check-revoke = false
```
### Building Embassy UI
**In a new terminal window, from `embassy-os/ui` run:**

View File

@@ -69,7 +69,7 @@ export class AppListPage {
private watchNewlyRecovered (): Observable<unknown> {
return this.patch.watch$('package-data').pipe(
filter((pkgs) => Object.keys(pkgs).length !== this.pkgs.length),
filter((pkgs) => !!pkgs && Object.keys(pkgs).length !== this.pkgs.length),
tap((pkgs) => {
const ids = Object.keys(pkgs)
const newIds = ids.filter(
@@ -85,7 +85,7 @@ export class AppListPage {
const added = newIds.map((id) => pkgs[id])
this.pkgs = [...added, ...filtered]
this.recoveredPkgs.filter((rec) => !pkgs[rec.id])
this.recoveredPkgs = this.recoveredPkgs.filter((rec) => !pkgs[rec.id])
}),
)
}