Fix issues in account actions (#1599)

Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
José Alberto Hernández
2022-12-18 13:06:03 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent 1da2630974
commit eae1b350b7
52 changed files with 335 additions and 298 deletions
@@ -49,4 +49,12 @@ export class AmazonS3Component implements OnInit {
this.dataSource.sort = this.sort;
}
getConfigurationValue(configuration: any): string {
const value = configuration.value;
if (configuration.name === 's3_access_key' || configuration.name === 's3_secret_key') {
return value.replace(value.substr(1, value.length - 3), value.substr(1, value.length - 3).replace(/./g, '*'));
}
return value;
}
}