mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 06:19:44 +00:00
bug fixes and cosmetic improvements
This commit is contained in:
committed by
Aiden McClelland
parent
aef1569e56
commit
be5952cb67
@@ -61,6 +61,7 @@ export class AppActionsPage {
|
||||
handler: (value: any) => {
|
||||
return this.executeAction(pkg.manifest.id, action.key, value)
|
||||
},
|
||||
isSubmit: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -6,6 +6,7 @@ import { PackageDataEntry, PackageState } from 'src/app/services/patch-db/data-m
|
||||
import { Subscription } from 'rxjs'
|
||||
import { PkgStatusRendering, renderPkgStatus } from 'src/app/services/pkg-status-rendering.service'
|
||||
import { filter } from 'rxjs/operators'
|
||||
import { isEmptyObject } from 'src/app/util/misc.util'
|
||||
|
||||
@Component({
|
||||
selector: 'app-list',
|
||||
@@ -38,7 +39,11 @@ export class AppListPage {
|
||||
this.patch.watch$('package-data')
|
||||
.pipe(
|
||||
filter(obj => {
|
||||
return Object.keys(obj).length !== Object.keys(this.pkgs).length
|
||||
return obj &&
|
||||
(
|
||||
isEmptyObject(obj) ||
|
||||
Object.keys(obj).length !== Object.keys(this.pkgs).length
|
||||
)
|
||||
}),
|
||||
)
|
||||
.subscribe(pkgs => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<ion-content>
|
||||
<ion-grid style="height: 100%; max-width: 540px;">
|
||||
<ion-row class="ion-align-items-center" style="height: 100%;">
|
||||
<ion-row class="ion-align-items-center" style="height: 90%;">
|
||||
<ion-col class="ion-text-center">
|
||||
|
||||
<div style="padding-bottom: 16px;">
|
||||
|
||||
@@ -7,16 +7,20 @@
|
||||
</ion-header>
|
||||
|
||||
<ion-content class="ion-padding">
|
||||
<h1 style="font-family: 'Montserrat'; font-weight: 100px; margin: 32px 0;" class="ion-text-center">Embassy Marketplace</h1>
|
||||
<h1 style="font-family: 'Montserrat'; font-size: 42px; margin: 32px 0;" class="ion-text-center">Embassy Marketplace</h1>
|
||||
|
||||
<ion-toolbar style="padding-bottom: 32px; max-width: 600px;" color="transparent">
|
||||
<ion-searchbar color="dark" (keyup.enter)="search()" debounce="300" [(ngModel)]="query"></ion-searchbar>
|
||||
<ion-buttons slot="end">
|
||||
<ion-button color="primary" fill="solid" (click)="search()">
|
||||
<ion-icon slot="icon-only" name="search-outline"></ion-icon>
|
||||
</ion-button>
|
||||
</ion-buttons>
|
||||
</ion-toolbar>
|
||||
<ion-grid style="padding-bottom: 32px;">
|
||||
<ion-row>
|
||||
<ion-col sizeMd="6" offset-md="3">
|
||||
<ion-toolbar color="transparent">
|
||||
<ion-searchbar enterkeyhint="search" color="dark" (keyup.enter)="search()" debounce="300" [(ngModel)]="query"></ion-searchbar>
|
||||
<ion-button style="height: 42px;" slot="end" color="primary" fill="solid" (click)="search()">
|
||||
<ion-icon slot="icon-only" name="search-outline"></ion-icon>
|
||||
</ion-button>
|
||||
</ion-toolbar>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
</ion-grid>
|
||||
|
||||
<!-- page loading -->
|
||||
<ng-container *ngIf="pageLoading; else pageLoaded">
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
.selected {
|
||||
font-weight: bold;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.dim {
|
||||
|
||||
@@ -85,7 +85,7 @@ export class WifiPage {
|
||||
spec: wifiSpec.spec,
|
||||
buttons: [
|
||||
{
|
||||
text: 'Save',
|
||||
text: 'Save for Later',
|
||||
handler: async (value: { ssid: string, password: string }) => {
|
||||
await this.save(value.ssid, value.password)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user