Fix for k8s dashboard getting letterboxed when there is no data. (#154094)

## Summary

Fixes an display issue with the k8s dashboard. Currently this page
doesn't render an empty state like other pages do, and so I've removed
it from the list of pages with "empty state" in order to avoid the whole
page having a restricted width of ~960px.

Before:

![image](https://user-images.githubusercontent.com/16198204/228934077-add3ecdf-2845-4714-98f2-e791133505e8.png)

After:

![image](https://user-images.githubusercontent.com/16198204/228934155-f785c0b9-2fbc-4a04-9522-4eecdd5d2a6c.png)
This commit is contained in:
Karl Godard 2023-04-10 10:10:23 -07:00 committed by GitHub
parent 394174eedf
commit 77498a9b69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,6 @@ const isPageNameWithEmptyView = (currentName: string) => {
SecurityPageName.timelines,
SecurityPageName.overview,
SecurityPageName.users,
SecurityPageName.kubernetes,
];
return pageNamesWithEmptyView.includes(currentName);
};