diff --git a/apps/client/layouts/newLayout.tsx b/apps/client/layouts/newLayout.tsx index 744d313c7..176cdb22e 100644 --- a/apps/client/layouts/newLayout.tsx +++ b/apps/client/layouts/newLayout.tsx @@ -963,11 +963,13 @@ export default function NewLayout({ children }: any) {
- - - Version 0.4.5 - - + {user.isAdmin && ( + + + Version 0.4.5 + + + )}
@@ -1064,15 +1066,17 @@ export default function NewLayout({ children }: any) { - - - + {user.isAdmin && ( + + + + )} {/* Profile dropdown */} diff --git a/apps/client/pages/admin/clients/index.tsx b/apps/client/pages/admin/clients/index.tsx index 65b2360c5..7ddbbfa92 100644 --- a/apps/client/pages/admin/clients/index.tsx +++ b/apps/client/pages/admin/clients/index.tsx @@ -255,13 +255,6 @@ export default function Clients() { > Delete - - Portal Url -
); }, @@ -286,10 +279,31 @@ export default function Clients() { A list of all internal users of your instance.

-
+
+ + Guest Ticket Url + + + Portal Url + + + Portal Register + New Client diff --git a/apps/client/pages/ticket/[id].tsx b/apps/client/pages/ticket/[id].tsx index 106f70e44..6cec47ad1 100644 --- a/apps/client/pages/ticket/[id].tsx +++ b/apps/client/pages/ticket/[id].tsx @@ -918,51 +918,53 @@ export default function Ticket() { leaveTo="opacity-0" > - {users.map((user: any) => ( - - classNames( - active - ? "text-white bg-indigo-600" - : "text-gray-900", - "cursor-default select-none relative py-2 pl-3 pr-9" - ) - } - value={user} - > - {({ n, active }: any) => ( - <> - - {user.name} - - - {n ? ( + {users + .filter((e) => !e.external_user) + .map((user: any) => ( + + classNames( + active + ? "text-white bg-indigo-600" + : "text-gray-900", + "cursor-default select-none relative py-2 pl-3 pr-9" + ) + } + value={user} + > + {({ n, active }: any) => ( + <> - - ) : null} - - )} - - ))} + + {n ? ( + + + ) : null} + + )} + + ))}