File tree 2 files changed +1
-10
lines changed
public/pages/workflow_detail/tools/resources
2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import {
14
14
EuiTitle ,
15
15
EuiText ,
16
16
EuiEmptyPrompt ,
17
- EuiLoadingSpinner ,
18
17
EuiHealth ,
19
18
EuiSpacer ,
20
19
} from '@elastic/eui' ;
@@ -24,7 +23,6 @@ interface ResourceFlyoutProps {
24
23
resource : WorkflowResource ;
25
24
resourceDetails : string ;
26
25
onClose : ( ) => void ;
27
- loading : boolean ;
28
26
errorMessage ?: string ;
29
27
}
30
28
@@ -70,7 +68,7 @@ export function ResourceFlyout(props: ResourceFlyoutProps) {
70
68
</ EuiTitle >
71
69
</ EuiFlexItem >
72
70
< EuiFlexItem grow = { true } >
73
- { ! props . errorMessage && ! props . loading ? (
71
+ { ! props . errorMessage ? (
74
72
< EuiCodeBlock
75
73
language = "json"
76
74
fontSize = "m"
@@ -79,11 +77,6 @@ export function ResourceFlyout(props: ResourceFlyoutProps) {
79
77
>
80
78
{ props . resourceDetails }
81
79
</ EuiCodeBlock >
82
- ) : props . loading ? (
83
- < EuiEmptyPrompt
84
- icon = { < EuiLoadingSpinner size = "xl" /> }
85
- title = { < h2 > Loading</ h2 > }
86
- />
87
80
) : (
88
81
< EuiEmptyPrompt
89
82
iconType = "alert"
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ export function ResourceListWithFlyout(props: ResourceListFlyoutProps) {
50
50
undefined
51
51
) ;
52
52
const {
53
- loading,
54
53
getIndexErrorMessage,
55
54
getIngestPipelineErrorMessage,
56
55
getSearchPipelineErrorMessage,
@@ -176,7 +175,6 @@ export function ResourceListWithFlyout(props: ResourceListFlyoutProps) {
176
175
resource = { selectedRowData }
177
176
resourceDetails = { resourceDetails }
178
177
onClose = { closeFlyout }
179
- loading = { loading }
180
178
errorMessage = { rowErrorMessage || undefined }
181
179
/>
182
180
) }
You can’t perform that action at this time.
0 commit comments