Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Bug: Selecting period for "Top 10 contributors" list doesn't work #465

@maria-pushkareva

Description

@maria-pushkareva

Summary

Clicking on "for the past week" or "for the past month" in the "Top 10 contributors" section doesn't cause any changes, but causes an error in the console.

Reproduction steps

1. Open https://friends.hexlet.io/
2. Click on "for the past week" or "for the past month" in the "Top 10 contributors" section.

Expected result

  1. The selected option should be highlighted somehow.
  2. The list of contributors should probably change.
  3. No errors in the console.

Actual result

  1. Nothing changes on the page.
  2. There is the following error in the console:

Uncaught TypeError: Cannot read properties of null (reading 'name')
at HTMLAnchorElement. (time_and_type_selector.js:24:70)The following

Browsers

Chrome, Opera

OS

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions