Skip to content

Commit bd64519

Browse files
committed
hide plus minus buttons for autostop update
1 parent 8870ae3 commit bd64519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/components/WorkspaceSchedule/WorkspaceSchedule.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export const WorkspaceSchedule: FC<WorkspaceScheduleProps> = ({
158158
<span className={[styles.scheduleValue, "chromatic-ignore"].join(" ")}>
159159
{Language.autoStopDisplay(workspace)}
160160
</span>
161-
{editDeadlineButtons}
161+
{canUpdateWorkspace && editDeadlineButtons}
162162
</Stack>
163163
</div>
164164
{canUpdateWorkspace && (

0 commit comments

Comments
 (0)