diff --git a/admin-ui/src/app/features/bulkupload/masterdataupload/create/create.component.html b/admin-ui/src/app/features/bulkupload/masterdataupload/create/create.component.html index fad55451..cd9f7345 100644 --- a/admin-ui/src/app/features/bulkupload/masterdataupload/create/create.component.html +++ b/admin-ui/src/app/features/bulkupload/masterdataupload/create/create.component.html @@ -49,7 +49,7 @@
{{'packet-status.id' | translate}} | {{data[0].registrationId}} | +{{'packet-status.id' | translate}} | +{{data[0].registrationId}} |
---|---|---|---|
{{'packet-status.status' | translate}} | {{statusCheck}} | +{{'packet-status.status' | translate}} | +{{statusCheck}} |
{{'packet-status.viewMore' | translate}} | -{{'packet-status.viewLess' | translate}} | + | {{'packet-status.viewMore' | translate}} | +{{'packet-status.viewLess' | translate}} | +keyboard_arrow_down keyboard_arrow_up | @@ -50,6 +55,10 @@
---|
Error Message | +
---|
{{errorMessage}} |
{{col[primaryLangCode]}}
@@ -180,6 +181,7 @@ {{ "filters.titleTxt" | translate }}> {{ "filters.footerButtons.resetTxt" | translate }} @@ -238,6 +240,7 @@{{ "filters.titleTxt" | translate }}
{
- values.filter(value => {
- if (value.buttonName.eng === 'Activate') {
- const index = this.ellipsisList[i].indexOf(value);
- this.ellipsisList[i].splice(index, 1);
- }
- })
+ this.ellipsisList.forEach((values, i) => {
+ this.ellipsisList[i] = values.filter(value => {
+ return value.buttonName.eng !== 'Activate';
+ });
});
} else{
- this.ellipsisList.filter(values => {
- if (values.buttonName.eng === 'Activate') {
- const index = this.ellipsisList.indexOf(values);
- this.ellipsisList.splice(index, 1);
- }
- });
+ this.ellipsisList = this.ellipsisList.filter(values => {
+ return values.buttonName.eng !== 'Activate';
+ });
}
} else if (data.isActive === false) {
// this.ellipsisList = [...this.buttonList];
this.ellipsisList = JSON.parse(JSON.stringify(this.buttonList));
if (!this.isUser) {
// user mapping center menu options
- this.ellipsisList.filter((values, i) => {
- values.filter(value => {
- if (value.buttonName.eng === 'Deactivate') {
- const index = this.ellipsisList[i].indexOf(value);
- this.ellipsisList[i].splice(index, 1);
- }
- })
+ this.ellipsisList.forEach((values, i) => {
+ this.ellipsisList[i] = values.filter(value => {
+ return value.buttonName.eng !== 'Deactivate';
+ });
});
} else{
- this.ellipsisList.filter(values => {
- if (values.buttonName.eng === 'Deactivate') {
- const index = this.ellipsisList.indexOf(values);
- this.ellipsisList.splice(index, 1);
- }
- });
+ this.ellipsisList = this.ellipsisList.filter(values => {
+ return values.buttonName.eng !== 'Deactivate';
+ });
}
}else{
this.ellipsisList = [...this.buttonList];
diff --git a/admin-ui/src/app/shared/toolbar/toolbar.component.html b/admin-ui/src/app/shared/toolbar/toolbar.component.html
index b4eb5bfb..fa332f05 100644
--- a/admin-ui/src/app/shared/toolbar/toolbar.component.html
+++ b/admin-ui/src/app/shared/toolbar/toolbar.component.html
@@ -12,7 +12,7 @@
'filter-button-style': button.buttonName.eng === 'Filter'
}"
>
-
+
{{ button.buttonName[lang]}}
fiber_manual_record
|
---|