fix: Update Layout component to center sidebar items and add scan_job_id to Vulnerability interface

This commit is contained in:
JSC
2025-07-10 23:07:36 +02:00
parent 181b3e2878
commit d9cd3adef1
2 changed files with 2 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ export function Layout({ children }: LayoutProps) {
{/* Sidebar */}
<div className="hidden md:flex md:w-64 md:flex-col md:fixed md:inset-y-0">
<div className="flex-1 flex flex-col min-h-0 bg-gray-800">
<div className="flex items-center h-16 flex-shrink-0 px-4 bg-gray-900">
<div className="flex flex-col items-center h-16 flex-shrink-0 px-4 bg-gray-900">
<div className="flex-1">
<h1 className="text-white text-lg font-semibold">
GitLab Docker Tracker

View File

@@ -28,6 +28,7 @@ export interface Image {
export interface Vulnerability {
id: number
image_id: number
scan_job_id: number | null
vulnerability_id: string
severity: string
title: string | null