fix(ui): always render alerts if multi-grid is disabled

If we have multi-grid on, user toggles all grids to hide details, then disables multi-grid, then we end up with alerts hidden and no way to show them.
This commit is contained in:
Łukasz Mierzwa
2020-04-01 17:38:48 +01:00
parent 6fbae0398d
commit d00488a94e

View File

@@ -219,7 +219,7 @@ const Grid = observer(
loadMore={this.loadMore}
hasMore={false}
>
{this.gridToggle.show
{this.gridToggle.show || grid.labelName === ""
? grid.alertGroups
.slice(0, this.groupsToRender.value)
.map((group) => (