Merge remote-tracking branch 'origin/main' into feature/new-folder-structure
This commit is contained in:
@@ -8,7 +8,7 @@ export class UmbInstallerContext {
|
||||
email: '',
|
||||
password: '',
|
||||
subscribeToNewsletter: false,
|
||||
telemetryLevel: 'Minimal',
|
||||
telemetryLevel: 'Basic',
|
||||
database: {},
|
||||
});
|
||||
public readonly data: Observable<PostInstallRequest> = this._data.asObservable();
|
||||
@@ -39,7 +39,6 @@ export class UmbInstallerContext {
|
||||
private loadIntallerSettings() {
|
||||
getInstall({}).then(({ data }) => {
|
||||
this._settings.next(data);
|
||||
console.log('INSTALLER SETTINGS', data);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,11 +20,12 @@ export class UmbInstallerInstalling extends LitElement {
|
||||
}
|
||||
|
||||
private async _updateProgress() {
|
||||
this._installProgress = Math.min(this._installProgress, (Math.random() + 1) * 10, 100);
|
||||
this._installProgress = Math.min(this._installProgress + (Math.random() + 1) * 10, 100);
|
||||
await new Promise((resolve) => setTimeout(resolve, (Math.random() + 1) * 1000));
|
||||
|
||||
if (this._installProgress >= 100) {
|
||||
// Redirect to backoffice
|
||||
history.pushState(null, '', '/backoffice/backoffice');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user