mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: update icon in ShowDeployments component
- Replaced the ArrowDownToLine icon with RefreshCcw in the rollback button for improved clarity. - Cleaned up unused imports from the component to streamline the code.
This commit is contained in:
@@ -10,13 +10,7 @@ import {
|
|||||||
CardTitle,
|
CardTitle,
|
||||||
} from "@/components/ui/card";
|
} from "@/components/ui/card";
|
||||||
import { type RouterOutputs, api } from "@/utils/api";
|
import { type RouterOutputs, api } from "@/utils/api";
|
||||||
import {
|
import { Clock, Loader2, RocketIcon, Settings, RefreshCcw } from "lucide-react";
|
||||||
Clock,
|
|
||||||
Loader2,
|
|
||||||
RocketIcon,
|
|
||||||
Settings,
|
|
||||||
ArrowDownToLine,
|
|
||||||
} from "lucide-react";
|
|
||||||
import React, { useEffect, useState } from "react";
|
import React, { useEffect, useState } from "react";
|
||||||
import { CancelQueues } from "./cancel-queues";
|
import { CancelQueues } from "./cancel-queues";
|
||||||
import { RefreshToken } from "./refresh-token";
|
import { RefreshToken } from "./refresh-token";
|
||||||
@@ -210,7 +204,7 @@ export const ShowDeployments = ({
|
|||||||
size="sm"
|
size="sm"
|
||||||
isLoading={isRollingBack}
|
isLoading={isRollingBack}
|
||||||
>
|
>
|
||||||
<ArrowDownToLine className="size-4 text-primary group-hover:text-red-500" />
|
<RefreshCcw className="size-4 text-primary group-hover:text-red-500" />
|
||||||
Rollback
|
Rollback
|
||||||
</Button>
|
</Button>
|
||||||
</DialogAction>
|
</DialogAction>
|
||||||
|
|||||||
Reference in New Issue
Block a user