mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-05-06 13:48:55 +00:00
further implementing server page (#4)
* further implementing server page * optimize icon button * rename some unnecessary file extensions * add terminal page & fm card
This commit is contained in:
@@ -37,7 +37,7 @@ import { conv } from "@/lib/utils"
|
||||
import { useState } from "react"
|
||||
import { KeyedMutator } from "swr"
|
||||
import { asOptionalField } from "@/lib/utils"
|
||||
import { EditButton, PlusButton } from "@/components/xui/icon-buttons"
|
||||
import { IconButton } from "@/components/xui/icon-button"
|
||||
import { serviceTypes, serviceCoverageTypes } from "@/types"
|
||||
|
||||
interface ServiceCardProps {
|
||||
@@ -102,9 +102,9 @@ export const ServiceCard: React.FC<ServiceCardProps> = ({ data, mutate }) => {
|
||||
<DialogTrigger asChild>
|
||||
{data
|
||||
?
|
||||
<EditButton variant="outline" />
|
||||
<IconButton variant="outline" icon="edit" />
|
||||
:
|
||||
<PlusButton />
|
||||
<IconButton icon="plus" />
|
||||
}
|
||||
</DialogTrigger>
|
||||
<DialogContent className="sm:max-w-xl">
|
||||
|
||||
Reference in New Issue
Block a user