larxius commited on
Commit
904c9be
·
verified ·
1 Parent(s): f8f5946

Update frontend/src/pages/SupportEngineerPanel.jsx

Browse files
frontend/src/pages/SupportEngineerPanel.jsx CHANGED
@@ -980,7 +980,8 @@ export const SupportEngineerPanel = () => {
980
  const remaining = q.allocated_count === -1 ? '∞' : Math.max(0, q.allocated_count - (q.used_count || 0));
981
  const style = q.scan_type === 'Deep' ? 'bg-orange-500/10 text-orange-600 border-orange-500/30' :
982
  q.scan_type === 'Advanced' ? 'bg-purple-500/10 text-purple-600 border-purple-500/30' :
983
- 'bg-blue-500/10 text-blue-600 border-blue-500/30';
 
984
  return (
985
  <div key={idx} className={`text-[10.5px] font-bold px-2 py-0.5 rounded border flex items-center gap-1 shadow-sm ${style}`}>
986
  <span className="uppercase opacity-90 tracking-wider">{q.scan_type}:</span>
 
980
  const remaining = q.allocated_count === -1 ? '∞' : Math.max(0, q.allocated_count - (q.used_count || 0));
981
  const style = q.scan_type === 'Deep' ? 'bg-orange-500/10 text-orange-600 border-orange-500/30' :
982
  q.scan_type === 'Advanced' ? 'bg-purple-500/10 text-purple-600 border-purple-500/30' :
983
+ q.scan_type === 'Quick' ? 'bg-blue-500/10 text-blue-600 border-blue-500/30' :
984
+ 'bg-emerald-500/10 text-emerald-600 border-emerald-500/30';
985
  return (
986
  <div key={idx} className={`text-[10.5px] font-bold px-2 py-0.5 rounded border flex items-center gap-1 shadow-sm ${style}`}>
987
  <span className="uppercase opacity-90 tracking-wider">{q.scan_type}:</span>