ydb-embedded-ui 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [1.6.2](https://github.com/ydb-platform/ydb-embedded-ui/compare/v1.6.1...v1.6.2) (2022-06-07)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* shouls always select result tab ([98d4bcb](https://github.com/ydb-platform/ydb-embedded-ui/commit/98d4bcbc94bc2b9db9fb9b9cd5aced9f079ecdae))
|
9
|
+
|
3
10
|
## [1.6.1](https://github.com/ydb-platform/ydb-embedded-ui/compare/v1.6.0...v1.6.1) (2022-06-07)
|
4
11
|
|
5
12
|
|
@@ -28,9 +28,7 @@ const resultOptions = [
|
|
28
28
|
];
|
29
29
|
|
30
30
|
function QueryResult(props) {
|
31
|
-
const [activeSection, setActiveSection] = useState(
|
32
|
-
props.result ? resultOptionsIds.result : resultOptionsIds.stats,
|
33
|
-
);
|
31
|
+
const [activeSection, setActiveSection] = useState(resultOptionsIds.result);
|
34
32
|
const isFullscreen = useSelector((state) => state.fullscreen);
|
35
33
|
const dispatch = useDispatch();
|
36
34
|
|
@@ -111,7 +109,9 @@ function QueryResult(props) {
|
|
111
109
|
</Fullscreen>
|
112
110
|
)}
|
113
111
|
</React.Fragment>
|
114
|
-
) :
|
112
|
+
) : (
|
113
|
+
<span>{error?.data ?? error}</span>
|
114
|
+
);
|
115
115
|
};
|
116
116
|
|
117
117
|
return (
|