Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chromatic fix
  • Loading branch information
Kira-Pilot committed Jul 15, 2022
commit 939c10e3ec46d13e2604e608e7d7a571e3594437
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import utc from "dayjs/plugin/utc"
import { useRef, useState } from "react"
import { Workspace } from "../../api/typesGenerated"
import { isWorkspaceOn } from "../../util/workspace"
import { Stack } from "../Stack/Stack"
import { WorkspaceSchedule } from "../WorkspaceSchedule/WorkspaceSchedule"
import { WorkspaceScheduleLabel } from "./WorkspaceScheduleLabel"

Expand Down Expand Up @@ -78,7 +77,7 @@ export const WorkspaceScheduleButton: React.FC<WorkspaceScheduleButtonProps> = (
<span className={styles.label}>
<WorkspaceScheduleLabel workspace={workspace} />
{canUpdateWorkspace && shouldDisplayPlusMinus(workspace) && (
<Stack direction="row" spacing={0}>
<span>
<IconButton
className={styles.iconButton}
size="small"
Expand All @@ -99,7 +98,7 @@ export const WorkspaceScheduleButton: React.FC<WorkspaceScheduleButtonProps> = (
<AddIcon />
</Tooltip>
</IconButton>
</Stack>
</span>
)}
</span>
<>
Expand Down