1
0
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:
checktheroads
2020-07-23 09:20:15 -07:00
parent 8c4bf5fbc2
commit 13101b9e52

View File

@@ -148,6 +148,10 @@ const Result = forwardRef(
copyValue = tableToString(queryTarget, data, config);
}
if (error) {
copyValue = errorMsg;
}
useEffect(() => {
!loading && resultsComplete === null && setComplete(index);
}, [loading, resultsComplete]);