ESLint: fix prefer-const violations

This commit is contained in:
Yury Bondarenko
2023-05-08 16:37:23 +02:00
parent 702246be38
commit 95d3ff6569
27 changed files with 46 additions and 62 deletions

View File

@@ -84,7 +84,7 @@ export class MetadataValuesComponent implements OnChanges {
* @param value the specific metadata value being linked
*/
getQueryParams(value) {
let queryParams = {startsWith: value};
const queryParams = {startsWith: value};
if (this.browseDefinition.getRenderType() === VALUE_LIST_BROWSE_DEFINITION.value) {
return {value: value};
}