Skip to content

[Bug] Chart time selection box defaults to 24 hour #2424

@59n

Description

@59n

Pre-work

  • I have read the docs.
  • I have searched open and closed issues.
  • I agree to follow this project's Code of Conduct.

Description

Upon changing DEFAULT_CHART_RANGE=WEEK in the env with docker compose, the chart option selector stays on 24 hours, even though the chart is plotted on WEEK, if you want to see 24 hours, you have to change it to 1 week, and then back to 24 hours

Expected Behavior

Default the time range selection box to the set default chart range

Steps to Reproduce

Change env var to DEFAULT_CHART_RANGE=WEEK i
Open admin or public dashboard
You will see it is on 24h but it is supposed to be WEEK

Deployment Environment

Docker Compose

Application Information

{"environment":{"application_name":"TheNAS","laravel_version":"12.38.1","php_version":"8.4.14","composer_version":"2.9.1","environment":"production","debug_mode":false,"url":"speed.thenas.us","maintenance_mode":false,"timezone":"Europe\/Amsterdam","locale":"en"},"cache":{"config":true,"events":true,"routes":true,"views":true},"drivers":{"broadcasting":"null","cache":"database","database":"sqlite","logs":"stderr","mail":"log","queue":"database","session":"database"},"storage":{"\/app\/www\/public\/storage":false},"filament":{"version":"v4.1.0","packages":"filament, forms, notifications, support, tables, actions, infolists, schemas, widgets","views":"NOT PUBLISHED","blade_icons":"CACHED","panel_components":"CACHED"},"livewire":{"livewire":"v3.6.4"},"speedtest_tracker":{"version":"v1.8.0"}}

What browser(s) are you seeing the problem on?

chrome

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions