Skip to content

Commit

Permalink
fix render status icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Son Roy Almerol committed Nov 8, 2024
1 parent cff1ce0 commit 5810e5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/proxy/views/d2d_backup/panels/targets.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ Ext.define('PBS.D2DManagement.TargetPanel', {
this.getView().getStore().rstore.startUpdate();
},

render_status: function(value, metadata, record, rowIndex, colIndex, store) {
if (value) {
render_status: function(value) {
if (value.toString() == "true") {
icon = 'check good';
text = gettext("OK");
} else {
Expand Down Expand Up @@ -134,7 +134,7 @@ Ext.define('PBS.D2DManagement.TargetPanel', {
{
header: gettext('Status'),
dataIndex: 'connection_status',
renderer: this.render_status,
renderer: 'render_status',
flex: 3,
},
],
Expand Down

0 comments on commit 5810e5a

Please sign in to comment.