mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-11-24 08:42:24 +02:00
fixing settings bugs
This commit is contained in:
parent
1855a7da15
commit
503f96a9b3
@ -99,7 +99,9 @@ export class IndexingSettingsComponent extends SettingsComponent<IndexingConfig,
|
||||
}
|
||||
});
|
||||
this.updateProgress();
|
||||
this.statistic = await this._settingsService.getStatistic();
|
||||
if (this._settingsService.isSupported()) {
|
||||
this.statistic = await this._settingsService.getStatistic();
|
||||
}
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
|
@ -77,7 +77,7 @@
|
||||
<input type="text" class="form-control" i18n-placeholder placeholder="Username"
|
||||
[(ngModel)]="newUser.name" name="name" required>
|
||||
<input type="password" class="form-control" i18n-placeholder placeholder="Password"
|
||||
[(ngModel)]="newUser.password" name="password" required>
|
||||
[(ngModel)]="newUser.password" name="password" autocomplete="off" required>
|
||||
<select class="form-control" [(ngModel)]="newUser.role" name="role" required>
|
||||
<option *ngFor="let repository of userRoles" [value]="repository.key">{{repository.value}}
|
||||
</option>
|
||||
|
Loading…
Reference in New Issue
Block a user