File tree 1 file changed +10
-1
lines changed
src/components/CognateAnalysisModal
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,7 @@ const computeComplexDistanceMutation = gql`
259
259
debug_flag: $debugFlag
260
260
) {
261
261
result
262
+ xlsx_url
262
263
minimum_spanning_tree
263
264
embedding_2d
264
265
embedding_3d
@@ -2979,7 +2980,15 @@ class CognateAnalysisModal extends React.Component {
2979
2980
) && this . state . result !== null && ! this . state . cleanResult && (
2980
2981
< Modal . Content style = { { maxWidth : "100%" , overflowX : "auto" } } >
2981
2982
2982
- { ! / c o m p l e x _ d i s t a n c e $ / . test ( mode ) && (
2983
+ { / c o m p l e x _ d i s t a n c e $ / . test ( mode ) && (
2984
+ < div className = "lingvo-cognate-results" >
2985
+ { this . state . result . length > 0 && (
2986
+ < div className = "lingvo-cognate-text" style = { { marginLeft : "24px" } } >
2987
+ < a href = { this . state . xlsx_url } > { this . context ( "XLSX-exported analysis results" ) } </ a >
2988
+ </ div >
2989
+ ) }
2990
+ </ div >
2991
+ ) || (
2983
2992
< >
2984
2993
< h3 className = "lingvo-cognate-header-results" > { this . context ( "Analysis results" ) } :</ h3 >
2985
2994
You can’t perform that action at this time.
0 commit comments