Remove incorrect error toast on successful poll (#96159)

This commit is contained in:
Constance 2021-04-02 14:28:18 -07:00 committed by GitHub
parent a0828c6797
commit c97c51876e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,10 +117,6 @@ export const ApiLogsLogic = kea<MakeLogicType<ApiLogsValues, ApiLogsActions>>({
// while polls are stored in-state until the user manually triggers the 'Refresh' action
if (isPoll) {
actions.onPollInterval(response);
flashErrorToast(POLLING_ERROR_TITLE, {
text: POLLING_ERROR_TEXT,
toastLifeTimeMs: POLLING_DURATION * 0.75,
});
} else {
actions.updateView(response);
}