yesamer commented on code in PR #2887:
URL:
https://github.com/apache/incubator-kie-tools/pull/2887#discussion_r1959415261
##########
packages/scesim-editor/src/drawer/TestScenarioDrawerDataSelectorPanel.tsx:
##########
@@ -517,17 +536,23 @@ function TestScenarioDataSelectorPanel() {
toolbar={treeViewSearchToolbar}
/>
</div>
- ) : (
- <Bullseye>
- <EmptyState>
- <EmptyStateIcon icon={treeViewEmptyStatus.icon} />
- <Title headingLevel="h4" size="lg">
- {treeViewEmptyStatus.title}
- </Title>
-
<EmptyStateBody>{treeViewEmptyStatus.description}</EmptyStateBody>
- </EmptyState>
- </Bullseye>
- )}
+ )) ||
+ (treeViewEmptyStatus.visibility === "hidden" && (
+ <Bullseye>
+ <EmptyState>
+ <EmptyStateIcon icon={treeViewEmptyStatus.icon} />
+ <Title headingLevel="h4" size="lg">
+ {treeViewEmptyStatus.title}
+ </Title>
+
<EmptyStateBody>{treeViewEmptyStatus.description}</EmptyStateBody>
+ </EmptyState>
+ </Bullseye>
+ )) ||
+ (treeViewEmptyStatus.visibility === "loading" && (
+ <Bullseye style={{ paddingTop: "10px" }}>
+ <Spinner aria-label="Contents of the basic example" />
Review Comment:
Fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]