Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Update frontend/src/pages/AdminPage.jsx
Browse files
frontend/src/pages/AdminPage.jsx
CHANGED
|
@@ -730,7 +730,7 @@ const AdminPageContent = () => {
|
|
| 730 |
</td>
|
| 731 |
<td className="px-4 py-3">
|
| 732 |
<div className="flex flex-wrap gap-1.5 items-center">
|
| 733 |
-
{org.quotas?.map((q, idx) => {
|
| 734 |
const remaining = q.allocated_count === -1 ? '∞' : Math.max(0, q.allocated_count - (q.used_count || 0));
|
| 735 |
const style = q.scan_type === 'Deep' ? 'bg-orange-500/10 text-orange-400 border-orange-500/30' :
|
| 736 |
q.scan_type === 'Advanced' ? 'bg-purple-500/10 text-purple-400 border-purple-500/30' :
|
|
|
|
| 730 |
</td>
|
| 731 |
<td className="px-4 py-3">
|
| 732 |
<div className="flex flex-wrap gap-1.5 items-center">
|
| 733 |
+
{org.quotas?.filter(q => ['Quick', 'Advanced', 'Deep'].includes(q.scan_type)).map((q, idx) => {
|
| 734 |
const remaining = q.allocated_count === -1 ? '∞' : Math.max(0, q.allocated_count - (q.used_count || 0));
|
| 735 |
const style = q.scan_type === 'Deep' ? 'bg-orange-500/10 text-orange-400 border-orange-500/30' :
|
| 736 |
q.scan_type === 'Advanced' ? 'bg-purple-500/10 text-purple-400 border-purple-500/30' :
|