mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
Fix/more UI (#2213)
* fix badge counter...again * remove taiga styles from angular json * better syntax
This commit is contained in:
@@ -11,6 +11,7 @@ import {
|
||||
filter,
|
||||
map,
|
||||
Observable,
|
||||
pairwise,
|
||||
startWith,
|
||||
switchMap,
|
||||
withLatestFrom,
|
||||
@@ -71,12 +72,15 @@ export class MenuComponent {
|
||||
withLatestFrom(this.patch.watch$('package-data')),
|
||||
switchMap(([_, outer]) =>
|
||||
this.patch.watch$('package-data').pipe(
|
||||
filter(
|
||||
pkgs =>
|
||||
!!Object.values(pkgs).find(
|
||||
pkg => pkg['install-progress']?.['unpack-complete'],
|
||||
),
|
||||
pairwise(),
|
||||
filter(([prev, curr]) =>
|
||||
Object.values(prev).some(
|
||||
p =>
|
||||
p['install-progress'] &&
|
||||
!curr[p.manifest.id]?.['install-progress'],
|
||||
),
|
||||
),
|
||||
map(([_, curr]) => curr),
|
||||
startWith(outer),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
</ng-container>
|
||||
|
||||
<ion-item-divider>Device Credentials</ion-item-divider>
|
||||
<ion-item>
|
||||
<!-- <ion-item>
|
||||
<ion-label>
|
||||
<h2>Pubkey</h2>
|
||||
<p>{{ server['pubkey'] }}</p>
|
||||
@@ -68,7 +68,7 @@
|
||||
<ion-button slot="end" fill="clear" (click)="copy(server['pubkey'])">
|
||||
<ion-icon slot="icon-only" name="copy-outline"></ion-icon>
|
||||
</ion-button>
|
||||
</ion-item>
|
||||
</ion-item> -->
|
||||
<ion-item>
|
||||
<ion-label>
|
||||
<h2>CA fingerprint</h2>
|
||||
|
||||
Reference in New Issue
Block a user