Show toolbar when filtering events results in an empty list (#1633)
This commit is contained in:
parent
51d8038a5c
commit
d493aa69ca
4 changed files with 4 additions and 2 deletions
|
@ -66,7 +66,7 @@ export default class AdminEventsTab {
|
|||
cy.findByTestId(this.searchAdminEventDrpDwnBtn).click();
|
||||
cy.findByTestId(this.resourcePathInputFld).type("events/test");
|
||||
cy.findByTestId(this.searchEventsBtn).click();
|
||||
cy.get(this.adminEventsTabTitle).contains("No events logged");
|
||||
cy.get(this.adminEventsTabTitle).contains("No search results");
|
||||
}
|
||||
|
||||
shouldCheckAuthDialogOpensAndIsNotEmpty() {
|
||||
|
|
|
@ -68,6 +68,6 @@ export default class UserEventsTab {
|
|||
cy.findByTestId(this.searchEventDrpDwnBtn).click();
|
||||
cy.findByTestId(this.userIdInputFld).type("test");
|
||||
cy.findByTestId(this.searchEventsBtn).click();
|
||||
cy.get(this.userEventsTabTitle).contains("No events logged");
|
||||
cy.get(this.userEventsTabTitle).contains("No search results");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -629,6 +629,7 @@ export const AdminEvents = () => {
|
|||
instructions={t("emptyEventsInstructions")}
|
||||
/>
|
||||
}
|
||||
isSearching={Object.keys(activeFilters).length > 0}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
|
|
@ -468,6 +468,7 @@ export default function EventsSection() {
|
|||
instructions={t("emptyEventsInstructions")}
|
||||
/>
|
||||
}
|
||||
isSearching={Object.keys(activeFilters).length > 0}
|
||||
/>
|
||||
</div>
|
||||
</Tab>
|
||||
|
|
Loading…
Reference in a new issue