mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
fix: site: replace CirclePlayIcon with PlayIcon (#18549)
This commit is contained in:
@@ -3,9 +3,9 @@ import type { Workspace, WorkspaceBuildParameter } from "api/typesGenerated";
|
||||
import { TopbarButton } from "components/FullPageLayout/Topbar";
|
||||
import {
|
||||
BanIcon,
|
||||
CirclePlayIcon,
|
||||
CircleStopIcon,
|
||||
CloudIcon,
|
||||
PlayIcon,
|
||||
PowerIcon,
|
||||
RotateCcwIcon,
|
||||
StarIcon,
|
||||
@@ -44,7 +44,7 @@ export const UpdateButton: FC<ActionButtonProps> = ({
|
||||
disabled={loading}
|
||||
onClick={() => handleAction()}
|
||||
>
|
||||
{requireActiveVersion ? <CirclePlayIcon /> : <CloudIcon />}
|
||||
{requireActiveVersion ? <PlayIcon /> : <CloudIcon />}
|
||||
{loading ? (
|
||||
<>Updating…</>
|
||||
) : isRunning ? (
|
||||
@@ -82,7 +82,7 @@ export const StartButton: FC<ActionButtonPropsWithWorkspace> = ({
|
||||
}) => {
|
||||
let mainButton = (
|
||||
<TopbarButton onClick={() => handleAction()} disabled={disabled || loading}>
|
||||
<CirclePlayIcon />
|
||||
<PlayIcon />
|
||||
{loading ? <>Starting…</> : "Start"}
|
||||
</TopbarButton>
|
||||
);
|
||||
|
||||
@@ -48,7 +48,6 @@ import { ExternalLinkIcon, FileIcon, StarIcon } from "lucide-react";
|
||||
import { EllipsisVertical } from "lucide-react";
|
||||
import {
|
||||
BanIcon,
|
||||
CirclePlayIcon,
|
||||
CloudIcon,
|
||||
PlayIcon,
|
||||
RefreshCcwIcon,
|
||||
@@ -573,7 +572,7 @@ const WorkspaceActionsCell: FC<WorkspaceActionsCellProps> = ({
|
||||
isLoading={workspaceUpdate.isUpdating}
|
||||
label="This template requires automatic updates on workspace startup. Contact your administrator if you want to preserve the template version."
|
||||
>
|
||||
<CirclePlayIcon />
|
||||
<PlayIcon />
|
||||
</PrimaryAction>
|
||||
<WorkspaceUpdateDialogs {...workspaceUpdate.dialogs} />
|
||||
</>
|
||||
@@ -599,7 +598,7 @@ const WorkspaceActionsCell: FC<WorkspaceActionsCellProps> = ({
|
||||
isLoading={workspaceUpdate.isUpdating}
|
||||
label="This template requires automatic updates on workspace restart. Contact your administrator if you want to preserve the template version."
|
||||
>
|
||||
<CirclePlayIcon />
|
||||
<PlayIcon />
|
||||
</PrimaryAction>
|
||||
<WorkspaceUpdateDialogs {...workspaceUpdate.dialogs} />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user