Skip to content

Commit 94f7d64

Browse files
committed
minor refectoring to handle default and advance configuation update message
Signed-off-by: Mohd. Shariq <[email protected]>
1 parent 9e3f523 commit 94f7d64

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/app/components/core/north/north-task-modal/north-task-modal.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ export class NorthTaskModalComponent implements OnInit, OnChanges {
555555

556556
if (!isEmpty(this.advancedConfiguration)) {
557557
this.advancedConfiguration.forEach(element => {
558-
this.updateConfiguration(element.key, element.config, 'advance-config');
558+
this.updateConfiguration(element.key, element.config, 'plugin-config');
559559
});
560560
}
561561

src/app/components/core/south/south-service-modal/south-service-modal.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ export class SouthServiceModalComponent implements OnInit {
573573

574574
if (!isEmpty(this.advancedConfiguration)) {
575575
this.advancedConfiguration.forEach(element => {
576-
this.updateConfiguration(element.key, element.config, 'advance-config');
576+
this.updateConfiguration(element.key, element.config, 'plugin-config');
577577
});
578578
}
579579

src/app/services/response-handler.service.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ export class ResponseHandler {
1515
this.toastService.success('Configuration updated successfully.');
1616
else if (type === 'filter-config') {
1717
this.toastService.success('Filter configuration updated successfully.');
18-
} else if (type === 'advance-config') {
19-
this.toastService.success('Advance configuration updated successfully.');
2018
}
2119
}
2220
}

0 commit comments

Comments
 (0)