diff --git a/src/components/service/ServiceItem.tsx b/src/components/service/ServiceItem.tsx index 4b30705..94986c6 100644 --- a/src/components/service/ServiceItem.tsx +++ b/src/components/service/ServiceItem.tsx @@ -66,12 +66,15 @@ const ServiceItem = ({ service, onItemDeleted }: ServiceItemProps) => { return (
- -
+ {!service.hasLogo ? ( + + ) : null} +
{ size="small" /> -
+
{service.hasLogo ? ( { /> ) : null}
-
+
{service.name}
{service.description}
-
+
diff --git a/src/pages/CreateServicePage.tsx b/src/pages/CreateServicePage.tsx index 226a34e..2b7c4f6 100644 --- a/src/pages/CreateServicePage.tsx +++ b/src/pages/CreateServicePage.tsx @@ -202,6 +202,9 @@ const CreateServicePage = () => { + + Apakah berupa logo? + { teams: service.teams.map((item: { team: Team }) => item.team.id), tags: service.tags, image: service.imageUrl, + hasLogo: service.hasLogo, username: service.credential?.username, password: service.credential?.password, note: service.credential?.note, @@ -247,6 +248,9 @@ const DetailServicePage = () => { /> + + Apakah berupa logo? +