mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed the SonarQube Code smells having Rule 'Functions, methods and lambdas should not have too many parameters'.
This commit is contained in:
committed by
Akshay Joshi
parent
3d5a2046c4
commit
b5f0190799
@@ -889,7 +889,7 @@ var Cell = Backgrid.Cell = Backbone.View.extend({
|
||||
$el.empty();
|
||||
var model = this.model;
|
||||
var columnName = this.column.get("name");
|
||||
var value = this.formatter.fromRaw(model.get(columnName), model);
|
||||
var value = _.escape(this.formatter.fromRaw(model.get(columnName), model));
|
||||
$el.append($(`<span class="display-text" title="${value}">${value}</span>`));
|
||||
$el.addClass(columnName);
|
||||
this.updateStateClassesMaybe();
|
||||
|
||||
Reference in New Issue
Block a user