mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
Make error message copyable
This commit is contained in:
@@ -148,6 +148,10 @@ const Result = forwardRef(
|
|||||||
copyValue = tableToString(queryTarget, data, config);
|
copyValue = tableToString(queryTarget, data, config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (error) {
|
||||||
|
copyValue = errorMsg;
|
||||||
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
!loading && resultsComplete === null && setComplete(index);
|
!loading && resultsComplete === null && setComplete(index);
|
||||||
}, [loading, resultsComplete]);
|
}, [loading, resultsComplete]);
|
||||||
|
Reference in New Issue
Block a user