File tree Expand file tree Collapse file tree 2 files changed +21
-21
lines changed
pages/browser/components/rejson-details Expand file tree Collapse file tree 2 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -68,33 +68,34 @@ const RejsonDetailsWrapper = () => {
68
68
69
69
return (
70
70
< div className = { `${ [ styles . container ] . join ( ' ' ) } ` } >
71
- { loading && (
71
+ { loading ? (
72
72
< EuiProgress
73
73
color = "primary"
74
74
size = "xs"
75
75
position = "absolute"
76
76
data-testid = "progress-key-json"
77
77
/>
78
+ ) : (
79
+ < RejsonDetails
80
+ selectedKey = { selectedKey }
81
+ dbNumber = { 0 }
82
+ dataType = { type || '' }
83
+ deleteMsg = ""
84
+ instanceId = { 123 }
85
+ resultTableKeyMap = { { } }
86
+ handleSubmitJsonUpdateValue = { handleSubmitJsonUpdateValue }
87
+ onJSONPropertyDeleted = { reportJSONPropertyDeleted }
88
+ data = { data }
89
+ onJSONKeyExpandAndCollapse = { reportJSONKeyExpandAndCollapse }
90
+ onJSONPropertyAdded = { reportJSONPropertyAdded }
91
+ onJSONPropertyEdited = { reportJSONPropertyEdited }
92
+ shouldRejsonDataBeDownloaded = { ! downloaded }
93
+ handleSubmitUpdateValue = { handleEditValueUpdate }
94
+ handleDeleteKeyDialogOpen = { ( ) => { } }
95
+ handleOpenExpiryDialog = { ( ) => { } }
96
+ keyProperty = { { } }
97
+ />
78
98
) }
79
- < RejsonDetails
80
- selectedKey = { selectedKey }
81
- dbNumber = { 0 }
82
- dataType = { type || '' }
83
- deleteMsg = ""
84
- instanceId = { 123 }
85
- resultTableKeyMap = { { } }
86
- handleSubmitJsonUpdateValue = { handleSubmitJsonUpdateValue }
87
- onJSONPropertyDeleted = { reportJSONPropertyDeleted }
88
- data = { data }
89
- onJSONKeyExpandAndCollapse = { reportJSONKeyExpandAndCollapse }
90
- onJSONPropertyAdded = { reportJSONPropertyAdded }
91
- onJSONPropertyEdited = { reportJSONPropertyEdited }
92
- shouldRejsonDataBeDownloaded = { ! downloaded }
93
- handleSubmitUpdateValue = { handleEditValueUpdate }
94
- handleDeleteKeyDialogOpen = { ( ) => { } }
95
- handleOpenExpiryDialog = { ( ) => { } }
96
- keyProperty = { { } }
97
- />
98
99
</ div >
99
100
)
100
101
}
Original file line number Diff line number Diff line change @@ -612,7 +612,6 @@ function addTypedKey(
612
612
onSuccessAction ( )
613
613
}
614
614
dispatch ( addKeySuccess ( ) )
615
- dispatch < any > ( fetchKeyInfo ( data . keyName ) )
616
615
dispatch (
617
616
addMessageNotification ( successMessages . ADDED_NEW_KEY ( data . keyName ) )
618
617
)
You can’t perform that action at this time.
0 commit comments