ydb-embedded-ui 1.1.2 → 1.1.3

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.1.3](https://www.github.com/ydb-platform/ydb-embedded-ui/compare/v1.1.2...v1.1.3) (2022-04-20)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * should prepare internal link correctly ([3da36e2](https://www.github.com/ydb-platform/ydb-embedded-ui/commit/3da36e22f6adbce6a1b14ac1afb0fb4aa46bb75f))
9
+
3
10
  ### [1.1.2](https://www.github.com/ydb-platform/ydb-embedded-ui/compare/v1.1.1...v1.1.2) (2022-04-19)
4
11
 
5
12
 
@@ -32,7 +32,7 @@ class FullNodeViewer extends React.Component {
32
32
  render() {
33
33
  const {node, className, additionalNodesInfo={}} = this.props;
34
34
  const nodeHref = additionalNodesInfo.getNodeRef
35
- ? additionalNodesInfo.getNodeRef(node)
35
+ ? additionalNodesInfo.getNodeRef(node) + 'internal'
36
36
  : undefined;
37
37
 
38
38
  const commonInfo = [
@@ -68,11 +68,11 @@ function getColumns({
68
68
  header: vDiskTableColumnsNames[VDiskTableColumnsIds.slotId],
69
69
  width: 100,
70
70
  render: ({value, row}) => {
71
- let vdiskInternalViewerLink: string | undefined;
71
+ let vdiskInternalViewerLink = '';
72
72
 
73
73
  if (nodeHref && value !== undefined) {
74
74
  vdiskInternalViewerLink +=
75
- nodeHref + '/actors/vdisks/vdisk' + pad9(pDiskId) + '_' + pad9(value);
75
+ nodeHref + 'actors/vdisks/vdisk' + pad9(pDiskId) + '_' + pad9(value);
76
76
  }
77
77
 
78
78
  return (
@@ -195,10 +195,10 @@ export function PDisk(props: PDiskProps) {
195
195
  SerialNumber,
196
196
  } = data;
197
197
 
198
- let pDiskInternalViewerLink: string | undefined;
198
+ let pDiskInternalViewerLink = '';
199
199
 
200
200
  if (nodeHref) {
201
- pDiskInternalViewerLink += nodeHref + '/actors/pdisks/pdisk' + pad9(PDiskId);
201
+ pDiskInternalViewerLink += nodeHref + 'actors/pdisks/pdisk' + pad9(PDiskId);
202
202
  }
203
203
 
204
204
  const pdiskInfo: any = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-embedded-ui",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "files": [
5
5
  "dist"
6
6
  ],