mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[ML] Fixing memory usage serverless check (#164732)
The check which decides what is shown on the memory usage page for serverless or stack versions of kibana is the wrong way round. The node list should be shown in non-serverless environments.
This commit is contained in:
parent
67958a1660
commit
b33effa182
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,6 @@ export const MemoryUsagePage: FC = () => {
|
|||
<SavedObjectsWarning onCloseFlyout={refresh} />
|
||||
|
||||
{isADEnabled && isDFAEnabled && isNLPEnabled ? (
|
||||
<JobMemoryTreeMap />
|
||||
) : (
|
||||
<>
|
||||
<EuiTabs>
|
||||
<EuiTab
|
||||
|
@ -70,6 +68,8 @@ export const MemoryUsagePage: FC = () => {
|
|||
</EuiTabs>
|
||||
{selectedTab === TAB.NODES ? <NodesList /> : <MemoryPage />}
|
||||
</>
|
||||
) : (
|
||||
<JobMemoryTreeMap />
|
||||
)}
|
||||
</>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue