From 0f8a814d87e337f78d67e5db91a4a7444f394c60 Mon Sep 17 00:00:00 2001
From: Cindy <cindy.nacibide@teamdlab.com>
Date: Tue, 8 Dec 2020 18:19:58 +0100
Subject: [PATCH] [US TRTL-562] move spinner outside tab

---
 .../app/shared/profiles-form/profiles-form.component.html | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/ui/ui-frontend/projects/identity/src/app/shared/profiles-form/profiles-form.component.html b/ui/ui-frontend/projects/identity/src/app/shared/profiles-form/profiles-form.component.html
index 836952318..e9f7ba088 100644
--- a/ui/ui-frontend/projects/identity/src/app/shared/profiles-form/profiles-form.component.html
+++ b/ui/ui-frontend/projects/identity/src/app/shared/profiles-form/profiles-form.component.html
@@ -33,9 +33,6 @@
     <div *ngIf="!tenantIdentifier" class="col-3" i18n="Tenant@@profilesFormColumnHeaderTenant">Coffre</div>
     <div class="col-5" i18n="Profile@@profilesFormColumnHeaderProfile">Profil</div>
   </div>
-  <div *ngIf="loading" class="vitamui-min-content">
-    <mat-spinner class="vitamui-spinner medium"></mat-spinner>
-  </div>
   <div *ngIf="!loading" class="vitamui-table-body">
     <div class="vitamui-table-rows" *ngFor="let id of profileIds; let index=index">
       <div class="vitamui-row d-flex align-items-center">
@@ -50,4 +47,9 @@
       </div>
     </div>
   </div>
+</div>
+<div *ngIf="loading" class="vitamui-min-content">
+  <mat-spinner class="vitamui-spinner medium"></mat-spinner>
+</div>
+<div class="table-container">
 </div>
\ No newline at end of file
-- 
GitLab