mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-06-21 02:20:41 +00:00
improve: replace long line of words with clipboard button (#95)
* improve: replace long line of words with clipboard button * change module path
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { swrFetcher } from "@/api/api"
|
||||
import { deleteServer, forceUpdateServer } from "@/api/server"
|
||||
import { ActionButtonGroup } from "@/components/action-button-group"
|
||||
import { CopyButton } from "@/components/copy-button"
|
||||
import { HeaderButtonGroup } from "@/components/header-button-group"
|
||||
import { InstallCommandsMenu } from "@/components/install-commands"
|
||||
import { NoteMenu } from "@/components/note-menu"
|
||||
@@ -121,6 +122,14 @@ export default function ServerPage() {
|
||||
return <NoteMenu note={{ private: s.note, public: s.public_note }} />
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "uuid",
|
||||
header: "UUID",
|
||||
cell: ({ row }) => {
|
||||
const s = row.original
|
||||
return <CopyButton text={s.uuid} />
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "actions",
|
||||
header: t("Actions"),
|
||||
|
||||
Reference in New Issue
Block a user