mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-05 05:55:21 +02:00
feat(certificates): display server information in certificate details
- Added a new section to the certificate details view to show associated server information, including the server name and IP address, enhancing the visibility of server-related data for each certificate. - Updated the API to include server data when fetching certificates.
This commit is contained in:
@@ -74,6 +74,9 @@ export const certificateRouter = createTRPCRouter({
|
||||
all: withPermission("certificate", "read").query(async ({ ctx }) => {
|
||||
return await db.query.certificates.findMany({
|
||||
where: eq(certificates.organizationId, ctx.session.activeOrganizationId),
|
||||
with: {
|
||||
server: true,
|
||||
},
|
||||
});
|
||||
}),
|
||||
update: withPermission("certificate", "update")
|
||||
|
||||
Reference in New Issue
Block a user