fix: Update Layout component to center sidebar items and add scan_job_id to Vulnerability interface
This commit is contained in:
@@ -38,7 +38,7 @@ export function Layout({ children }: LayoutProps) {
|
|||||||
{/* Sidebar */}
|
{/* Sidebar */}
|
||||||
<div className="hidden md:flex md:w-64 md:flex-col md:fixed md:inset-y-0">
|
<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-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">
|
<div className="flex-1">
|
||||||
<h1 className="text-white text-lg font-semibold">
|
<h1 className="text-white text-lg font-semibold">
|
||||||
GitLab Docker Tracker
|
GitLab Docker Tracker
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ export interface Image {
|
|||||||
export interface Vulnerability {
|
export interface Vulnerability {
|
||||||
id: number
|
id: number
|
||||||
image_id: number
|
image_id: number
|
||||||
|
scan_job_id: number | null
|
||||||
vulnerability_id: string
|
vulnerability_id: string
|
||||||
severity: string
|
severity: string
|
||||||
title: string | null
|
title: string | null
|
||||||
|
|||||||
Reference in New Issue
Block a user