larxius commited on
Commit
8c25550
·
verified ·
1 Parent(s): 0cbf338

Update frontend/src/pages/AdminPage.jsx

Browse files
Files changed (1) hide show
  1. frontend/src/pages/AdminPage.jsx +2 -1
frontend/src/pages/AdminPage.jsx CHANGED
@@ -734,7 +734,8 @@ const AdminPageContent = () => {
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' :
737
- 'bg-blue-500/10 text-blue-400 border-blue-500/30';
 
738
  return (
739
  <div key={idx} className={`text-[10.5px] font-extrabold px-2 py-0.5 rounded border flex items-center gap-1 shadow-2xs ${style}`}>
740
  <span className="uppercase tracking-wider">{q.scan_type}:</span>
 
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' :
737
+ q.scan_type === 'Quick' ? 'bg-blue-500/10 text-blue-400 border-blue-500/30' :
738
+ 'bg-emerald-500/10 text-emerald-400 border-emerald-500/30';
739
  return (
740
  <div key={idx} className={`text-[10.5px] font-extrabold px-2 py-0.5 rounded border flex items-center gap-1 shadow-2xs ${style}`}>
741
  <span className="uppercase tracking-wider">{q.scan_type}:</span>