diff --git a/src/app/admin-view/account-mgmt/account-mgmt.component.html b/src/app/admin-view/account-mgmt/account-mgmt.component.html
index 2ff5cb5..e62b531 100644
--- a/src/app/admin-view/account-mgmt/account-mgmt.component.html
+++ b/src/app/admin-view/account-mgmt/account-mgmt.component.html
@@ -1,37 +1,39 @@
-
-
Imię |
- {{element.fname}} |
-
-
-
Nazwisko |
- {{element.surname}} |
-
-
-
Pokój |
- {{element.room}} |
-
-
-
Nazwa użytkownika |
- {{element.uname}} |
-
-
-
Karta użytkownika |
-
-
- |
-
-
-
-
-
+ @if (ac.state() != STATE.LOADED) {
+
+ }
+
+
+
Imię |
+ {{element.fname}} |
+
+
+
Nazwisko |
+ {{element.surname}} |
+
+
+
Pokój |
+ {{element.room}} |
+
+
+
Nazwa użytkownika |
+ {{element.uname}} |
+
+
+
Karta użytkownika |
+
+
+ |
+
+
+
+
+
+
diff --git a/src/app/admin-view/account-mgmt/account-mgmt.component.scss b/src/app/admin-view/account-mgmt/account-mgmt.component.scss
index 390db66..5475256 100644
--- a/src/app/admin-view/account-mgmt/account-mgmt.component.scss
+++ b/src/app/admin-view/account-mgmt/account-mgmt.component.scss
@@ -4,6 +4,13 @@
height: 100%;
}
+.mainc {
+ position: relative;
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+}
+
mat-paginator {
margin-top: auto;
}
diff --git a/src/app/admin-view/account-mgmt/account-mgmt.component.spec.ts b/src/app/admin-view/account-mgmt/account-mgmt.component.spec.ts
index ec96d0d..81c782a 100644
--- a/src/app/admin-view/account-mgmt/account-mgmt.component.spec.ts
+++ b/src/app/admin-view/account-mgmt/account-mgmt.component.spec.ts
@@ -6,26 +6,31 @@ import { MatSnackBarModule } from '@angular/material/snack-bar'
import { MatFormFieldModule } from '@angular/material/form-field'
import { MatIconModule } from '@angular/material/icon'
import { MatPaginatorModule } from '@angular/material/paginator'
-import { of } from 'rxjs'
import { MatTableModule } from '@angular/material/table'
import { MatInputModule } from '@angular/material/input'
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'
+import { AccountMgmtService } from './account-mgmt.service'
+import { LoadShadeComponent } from 'src/app/commonComponents/load-shade/load-shade.component'
+import { of } from 'rxjs'
+import { signal } from '@angular/core'
+import { STATE } from 'src/app/types/state'
-xdescribe('AccountMgmtComponent', () => {
+describe('AccountMgmtComponent', () => {
let component: AccountMgmtComponent
let fixture: ComponentFixture