Skip to content

Commit 76c7f8e

Browse files
author
Lijun Zhang
committed
RSA-692:
chnage to an icon
1 parent a050a1b commit 76c7f8e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Loading

src/firefly/js/charts/ui/ColumnOrExpression.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {getFieldVal} from '../../fieldGroup/FieldGroupUtils.js';
1010
import {SuggestBoxInputField} from '../../ui/SuggestBoxInputField.jsx';
1111
import ColValuesStatistics from '../ColValuesStatistics.js';
1212
import {showColSelectPopup} from './ColSelectView.jsx';
13+
import MAGNIFYING_GLASS from 'html/images/icons-2014/magnifyingGlass.png';
1314

1415
const EXPRESSION_TTIPS = `
1516
Supported operators: ^, *, /, +, -, <, <=, =, <>, >=, >, and, or.
@@ -88,7 +89,7 @@ export function ColumnOrExpression({colValStats,params,groupKey,fldPath,label,la
8889

8990
// http://www.charbase.com/1f50d-unicode-left-pointing-magnifying-glass
9091
// http://www.charbase.com/1f50e-unicode-right-pointing-magnifying-glass
91-
const cols = '\ud83d\udd0e';
92+
//const cols = '\ud83d\udd0e';
9293
return (
9394
<div style={{whiteSpace: 'nowrap'}}>
9495
<SuggestBoxInputField
@@ -112,7 +113,7 @@ export function ColumnOrExpression({colValStats,params,groupKey,fldPath,label,la
112113
<div style={{display: 'inline-block', cursor:'pointer', paddingLeft: 3, verticalAlign: 'middle', fontSize: 'larger'}}
113114
title={`Select ${name} column`}
114115
onClick={() => showColSelectPopup(colValStats, onColSelected,`Choose ${name}`,'OK',val)}>
115-
{cols}
116+
<ToolbarButton icon={MAGNIFYING_GLASS}/>
116117
</div>
117118
</div>
118119
);

0 commit comments

Comments
 (0)