From c6e91510d01486d70c5883259c8f9b086a520efa Mon Sep 17 00:00:00 2001 From: GurukiranP Date: Tue, 20 Feb 2024 11:15:37 +0530 Subject: [PATCH] [MOSIP-19814] Fixed the issue when user clicks on column sort icon holiday date & status replicates and flickers. Signed-off-by: GurukiranP --- .../masterdata/list-view/list-view.component.html | 1 + .../src/app/shared/table/table.component.html | 1 + .../src/app/shared/table/table.component.scss | 4 ++-- .../src/app/shared/toolbar/toolbar.component.html | 4 ++-- .../src/app/shared/toolbar/toolbar.component.scss | 10 ++++++++++ admin-ui/src/assets/entity-spec/holiday-data.json | 15 ++++++++++++--- 6 files changed, 28 insertions(+), 7 deletions(-) diff --git a/admin-ui/src/app/features/masterdata/list-view/list-view.component.html b/admin-ui/src/app/features/masterdata/list-view/list-view.component.html index 6238f32d..fbf5bcd5 100644 --- a/admin-ui/src/app/features/masterdata/list-view/list-view.component.html +++ b/admin-ui/src/app/features/masterdata/list-view/list-view.component.html @@ -19,6 +19,7 @@ [sortData]="sortFilter" [noDataFlag]="noData" (sort)="getSortColumn($event)" + class="master-data" > diff --git a/admin-ui/src/app/shared/table/table.component.html b/admin-ui/src/app/shared/table/table.component.html index ea3b756f..850456a4 100644 --- a/admin-ui/src/app/shared/table/table.component.html +++ b/admin-ui/src/app/shared/table/table.component.html @@ -5,6 +5,7 @@ - Button Icon - {{ button.buttonName[lang]}} + Button Icon + {{ button.buttonName[lang]}} fiber_manual_record diff --git a/admin-ui/src/app/shared/toolbar/toolbar.component.scss b/admin-ui/src/app/shared/toolbar/toolbar.component.scss index 17f21ff0..246192c7 100644 --- a/admin-ui/src/app/shared/toolbar/toolbar.component.scss +++ b/admin-ui/src/app/shared/toolbar/toolbar.component.scss @@ -8,6 +8,16 @@ display: flex; align-items: center; flex-wrap: wrap; + + img { + height: 14px; + width: 14px; + } + + .button-name { + display: inline-block; + padding-left: 3px; + } } .container { overflow: auto; diff --git a/admin-ui/src/assets/entity-spec/holiday-data.json b/admin-ui/src/assets/entity-spec/holiday-data.json index aafb6867..fce78903 100644 --- a/admin-ui/src/assets/entity-spec/holiday-data.json +++ b/admin-ui/src/assets/entity-spec/holiday-data.json @@ -134,7 +134,10 @@ "linkType": "", "LinkURL": "", "inputType": "text", - "ismandatory": "true" + "ismandatory": "true", + "styles": { + "width": "55%" + } }, { "name": "holidayDesc", @@ -158,7 +161,10 @@ "linkType": "", "LinkURL": "", "inputType": "calendar", - "ismandatory": "true" + "ismandatory": "true", + "styles": { + "width": "20%" + } }, { "name": "locationCode", @@ -216,7 +222,10 @@ "linkType": "", "LinkURL": "", "inputType": "dropdown", - "ismandatory": "false" + "ismandatory": "false", + "styles": { + "width": "20%" + } } ], "paginator": {