Fix panel errors seen when click on partitions.

This commit is contained in:
Khushboo Vashi
2018-07-23 14:33:40 +01:00
committed by Dave Page
parent cb9fffc7de
commit 2d1e835d32
3 changed files with 17 additions and 9 deletions

View File

@@ -178,9 +178,14 @@ describe('tree#node#getTreeNodeHierarchy', () => {
'special one': {
'some key': 'some value',
'_type': 'special one',
'priority': -1,
'priority': -2,
},
'table': {
'some key': 'some value',
'_type': 'table',
'priority': -1,
},
'partition': {
'some key': 'expected value',
'some other key': 'some other value',
'_type': 'partition',
@@ -337,9 +342,14 @@ describe('tree#node#getTreeNodeHierarchy', () => {
'special one': {
'some key': 'some value',
'_type': 'special one',
'priority': -1,
'priority': -2,
},
'table': {
'some key': 'some value',
'_type': 'table',
'priority': -1,
},
'partition': {
'some key': 'expected value',
'some other key': 'some other value',
'_type': 'partition',