mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
ui: change drives tab name
This commit is contained in:
committed by
Aiden McClelland
parent
5d04f1f6b0
commit
eb5473087b
@@ -48,7 +48,7 @@ export class AppComponent {
|
|||||||
icon: 'notifications-outline',
|
icon: 'notifications-outline',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'External Drives',
|
title: 'Backup drives',
|
||||||
url: '/drives',
|
url: '/drives',
|
||||||
icon: 'albums-outline',
|
icon: 'albums-outline',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<ion-buttons slot="start">
|
<ion-buttons slot="start">
|
||||||
<pwa-back-button></pwa-back-button>
|
<pwa-back-button></pwa-back-button>
|
||||||
</ion-buttons>
|
</ion-buttons>
|
||||||
<ion-title>External Drives</ion-title>
|
<ion-title>Backup drives</ion-title>
|
||||||
<ion-buttons slot="end">
|
<ion-buttons slot="end">
|
||||||
<badge-menu-button></badge-menu-button>
|
<badge-menu-button></badge-menu-button>
|
||||||
</ion-buttons>
|
</ion-buttons>
|
||||||
|
|||||||
@@ -63,19 +63,21 @@ export class SyncNotifier {
|
|||||||
private async handleOSWelcome (server: Readonly<S9Server>) {
|
private async handleOSWelcome (server: Readonly<S9Server>) {
|
||||||
if (server.welcomeAck || server.versionInstalled !== this.config.version || this.osWelcomeOpen) return
|
if (server.welcomeAck || server.versionInstalled !== this.config.version || this.osWelcomeOpen) return
|
||||||
|
|
||||||
const modal = await this.modalCtrl.create({
|
|
||||||
backdropDismiss: false,
|
|
||||||
component: OSWelcomePage,
|
|
||||||
presentingElement: await this.modalCtrl.getTop(),
|
|
||||||
componentProps: {
|
|
||||||
version: server.versionInstalled,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
this.osWelcomeOpen = true
|
this.osWelcomeOpen = true
|
||||||
|
const [modal, _] = await Promise.all([
|
||||||
|
this.modalCtrl.create({
|
||||||
|
backdropDismiss: false,
|
||||||
|
component: OSWelcomePage,
|
||||||
|
presentingElement: await this.modalCtrl.getTop(),
|
||||||
|
componentProps: {
|
||||||
|
version: server.versionInstalled,
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
this.apiService.acknowledgeOSWelcome(this.config.version),
|
||||||
|
])
|
||||||
|
|
||||||
modal.onWillDismiss().then(() => {
|
modal.onWillDismiss().then(() => {
|
||||||
this.osWelcomeOpen = false
|
this.osWelcomeOpen = false
|
||||||
return this.apiService.acknowledgeOSWelcome(this.config.version)
|
|
||||||
})
|
})
|
||||||
await modal.present()
|
await modal.present()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user