{{log.text}}
diff --git a/src/app/components/modify-users/modify-users.component.html b/src/app/components/modify-users/modify-users.component.html
index cd054af..d985417 100644
--- a/src/app/components/modify-users/modify-users.component.html
+++ b/src/app/components/modify-users/modify-users.component.html
@@ -1,7 +1,7 @@
-
+
-->
-
+
@@ -400,8 +400,7 @@
-
-
+
Allow user registration
@@ -445,7 +444,7 @@
-
+
@@ -456,12 +455,12 @@
-
-
-
-
+
+
+
+
diff --git a/src/app/settings/settings.component.scss b/src/app/settings/settings.component.scss
index 601cdb9..f702e64 100644
--- a/src/app/settings/settings.component.scss
+++ b/src/app/settings/settings.component.scss
@@ -99,4 +99,9 @@
.transfer-db-div {
margin-bottom: 10px;
+}
+
+.action-buttons {
+ position: absolute;
+ bottom: 15px;
}
\ No newline at end of file
diff --git a/src/app/settings/settings.component.ts b/src/app/settings/settings.component.ts
index ce03773..483c4db 100644
--- a/src/app/settings/settings.component.ts
+++ b/src/app/settings/settings.component.ts
@@ -51,8 +51,17 @@ export class SettingsComponent implements OnInit {
private dialog: MatDialog) { }
ngOnInit() {
- this.getConfig();
- this.getDBInfo();
+ if (this.postsService.initialized) {
+ this.getConfig();
+ this.getDBInfo();
+ } else {
+ this.postsService.service_initialized.subscribe(init => {
+ if (init) {
+ this.getConfig();
+ this.getDBInfo();
+ }
+ });
+ }
this.generated_bookmarklet_code = this.sanitizer.bypassSecurityTrustUrl(this.generateBookmarkletCode());