add P-ID for other processes in System.jsx

This commit is contained in:
Sergey Krashevich 2023-05-03 05:11:24 +03:00
parent f6d0f5b766
commit 7d4438ee6e
No known key found for this signature in database
GPG Key ID: 625171324E7D3856

View File

@ -353,6 +353,7 @@ export default function System() {
<div key={process} className="dark:bg-gray-800 shadow-md hover:shadow-lg rounded-lg transition-shadow"> <div key={process} className="dark:bg-gray-800 shadow-md hover:shadow-lg rounded-lg transition-shadow">
<div className="capitalize text-lg flex justify-between p-4"> <div className="capitalize text-lg flex justify-between p-4">
<div className="text-lg flex justify-between">{process}</div> <div className="text-lg flex justify-between">{process}</div>
<p>P-ID: {processes[process]['pid'] || '- '}</p>
</div> </div>
<div className="p-2"> <div className="p-2">
<Table className="w-full"> <Table className="w-full">