Skip to content

BUG: Fix Submissions Tab Showing Incorrect Solutions on Navigation #4862

@Deependrashukla

Description

@Deependrashukla

The submissions tab currently displays the last viewed question’s solution instead of the current one. The correct submissions are only shown after a full page refresh.

This issue seems to occur because the frontend does not properly refresh the submissions data when navigating between different questions.

Fix:

  • Ensure submissions are fetched/refreshed whenever a new question is selected.
  • Added logic to clear or reload the submissions state on question change.

This resolves the incorrect display of submissions and ensures the tab always shows the current question’s solutions without requiring a manual refresh.

Issue:-

Screencast.from.2025-09-27.23-25-46.webm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions