Skip to content

Bug: zaps dashboard keeps stale rows after switching history direction #269

@adliebe

Description

@adliebe

Summary

The dashboard zaps page can keep previously loaded received rows visible after switching to Sent while the sent-history request is pending or fails.

Reproduction

  1. Open /dashboard/zaps with received zaps loaded.
  2. Switch from Received to Sent.
  3. Slow or fail /api/zaps/history?direction=sent....

Expected

The old received rows are cleared immediately and stale in-flight responses cannot repopulate the opposite tab.

Actual

Old rows can stay rendered under the new direction, causing received zaps to appear as sent zaps until a later successful response replaces them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions