Skip to content

Commit 66fd9fa

Browse files
added hyperlink for the sbs and id signatures
1 parent 021fe32 commit 66fd9fa

File tree

4 files changed

+129
-123
lines changed

4 files changed

+129
-123
lines changed

src/components/histogramPlot/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,9 @@ class HistogramPlot extends Component {
283283
q1,
284284
q3,
285285
density,
286-
markValue,
287-
colorMarker,
288-
markValueText,
289286
highlightedMarkValue,
290287
highlightedMarkValueText,
291288
highlightedPair,
292-
updateCaseReport,
293289
margins,
294290
dataset,
295291
} = this.getPlotConfiguration();

src/components/histogramPlotPanel/index.js

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,22 @@ class HistogramPlotPanel extends Component {
9090
ellipsis={
9191
true
9292
? {
93-
tooltip: title,
93+
tooltip: (
94+
<span
95+
dangerouslySetInnerHTML={{
96+
__html: title,
97+
}}
98+
/>
99+
),
94100
}
95101
: false
96102
}
97103
>
98-
{title}
104+
<span
105+
dangerouslySetInnerHTML={{
106+
__html: title,
107+
}}
108+
/>
99109
</Text>
100110
</span>
101111
</Space>
@@ -123,7 +133,7 @@ class HistogramPlotPanel extends Component {
123133
<ContainerDimensions>
124134
{({ width, height }) => {
125135
return (
126-
(inViewport) && (
136+
inViewport && (
127137
<Row style={{ width }} gutter={[margins.gap, 0]}>
128138
<Col flex={1}>
129139
<HistogramPlot
@@ -166,8 +176,7 @@ HistogramPlotPanel.defaultProps = {
166176
data: [],
167177
};
168178
const mapDispatchToProps = () => ({});
169-
const mapStateToProps = (state) => ({
170-
});
179+
const mapStateToProps = (state) => ({});
171180
export default connect(
172181
mapStateToProps,
173182
mapDispatchToProps

src/tabs/signaturesTab/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ class SignaturesTab extends Component {
9090
mutationFilter === "sbs"
9191
? sigprofiler_sbs_cosine_similarity
9292
: sigprofiler_indel_cosine_similarity;
93+
9394
return (
9495
<Wrapper>
9596
<Skeleton active loading={loading}>

0 commit comments

Comments
 (0)