larxius commited on
Commit
a3b69b8
·
verified ·
1 Parent(s): 0f98d89

Update frontend/src/pages/AdminPage.jsx

Browse files
Files changed (1) hide show
  1. frontend/src/pages/AdminPage.jsx +1 -1
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' :