Skip to content

Workspace schedule form: 8h is displayed for workspaces with "Shutdown: Manual" when open schedule for edit #2237

Closed
@nadzeyav

Description

@nadzeyav

Coder version:
Coder v0.0.0-devel+92bda0d

If I have a workspace with manual shutdown and open Edit schedule - in the field "Time until shutdown" 8 is displayed, but I expect 0 as it was set.

Steps:

  1. Create a workspace
  2. Open workspace and click Edit schedule
  3. Set value to 0 in "Time until shutdown"
  4. Save schedule -> workspace Schedule displays "Shutdown: Manual"
  5. Click Edit schedule

Expected
I expect the same value I have set: 0

Actual
8 is displayed

Shutdown-manual.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    siteArea: frontend dashboard

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions