Skip to content

[Bug]: Settings archive page shows "Restore defaults" even though the action only applies to general settings #1709

@UtkarshUsername

Description

@UtkarshUsername

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Start the app and open the settings page.
  2. Navigate to "General" page and note the Restore defaults button in the header.
  3. Navigate to the "Archive" page.
  4. Observe that the same Restore defaults button is still shown on the archive page.
  5. Click it and confirm.
  6. Observe that it doesn't work when clicked from the "Archive" page.

Expected behavior

The Restore defaults button should only be shown on the General settings page, where the settings actually exist, and it applies to actual settings values.

Actual behavior

The Archive page also shows the Restore defaults button in the header, which implies the action applies there even though that page does not expose those settings.

Impact

Cosmetic issue

Version or commit

0.0.15

Environment

No response

Logs or stack traces

Screenshots, recordings, or supporting files

Image

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions