mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-04 12:36:44 -05:00
Remove the comma from PIDs in the statistics panel.
This commit is contained in:
1 parent
1fe0d51925
commit
3f83780049
1 file changed
+15
-6
@@ -324,14 +324,23 @@ define([
|
||||
this.columns = [];
|
||||
for (var idx in columns) {
|
||||
var rawColumn = columns[idx],
|
||||
col = {
|
||||
cell_type = typeCellMapper[rawColumn['type_code']] || 'string';
|
||||
|
||||
// Don't show PID comma separated
|
||||
if(rawColumn['name'] == 'PID') {
|
||||
cell_type = cell_type.extend({
|
||||
orderSeparator: ''
|
||||
});
|
||||
}
|
||||
|
||||
var col = {
|
||||
editable: false,
|
||||
name: rawColumn['name'],
|
||||
cell: typeCellMapper[rawColumn['type_code']] || 'string'
|
||||
};
|
||||
if (_.indexOf(prettifyFields, rawColumn['name']) != -1) {
|
||||
col['formatter'] = SizeFormatter
|
||||
}
|
||||
cell: cell_type
|
||||
};
|
||||
if (_.indexOf(prettifyFields, rawColumn['name']) != -1) {
|
||||
col['formatter'] = SizeFormatter
|
||||
}
|
||||
this.columns.push(col);
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user