HomeElementl

[dagit] Fix sensor/schedule mutations

Description

[dagit] Fix sensor/schedule mutations

Summary: TypeScript allowed me to have name and status vars that didn't pull values from the GraphQL payload, so the sensor and schedule switches broke with https://dagster.phacility.com/D7839. This fixes the vars.

Test Plan: View sensor and schedule in Dagit. Turn them on/off, verify success and correct switch state after action.

Reviewers: bengotow, yuhan, prha

Reviewed By: yuhan, prha

Subscribers: prha

Differential Revision: https://dagster.phacility.com/D7850

Details

Provenance
dishAuthored on May 10 2021, 10:57 PM
Reviewer
yuhan
Differential Revision
D7850: [dagit] Fix sensor/schedule mutations
Parents
R1:181200464014: Expose Workspace on WorkspaceProcessContext
Branches
Unknown
Tags
Unknown