Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Update frontend/src/pages/Settings.jsx
Browse files
frontend/src/pages/Settings.jsx
CHANGED
|
@@ -778,7 +778,7 @@ export const AlertSettingsPage = () => {
|
|
| 778 |
</div>
|
| 779 |
) : scanQuotas.length > 0 ? (
|
| 780 |
<div className="grid grid-cols-1 sm:grid-cols-3 gap-md">
|
| 781 |
-
{scanQuotas.map((q, idx) => {
|
| 782 |
const icon = q.scan_type.toLowerCase().includes('quick') ? 'bolt' :
|
| 783 |
q.scan_type.toLowerCase().includes('advanced') ? 'security' :
|
| 784 |
q.scan_type.toLowerCase().includes('deep') ? 'radar' : 'pie_chart';
|
|
|
|
| 778 |
</div>
|
| 779 |
) : scanQuotas.length > 0 ? (
|
| 780 |
<div className="grid grid-cols-1 sm:grid-cols-3 gap-md">
|
| 781 |
+
{scanQuotas.filter(q => ['Quick', 'Advanced', 'Deep'].includes(q.scan_type)).map((q, idx) => {
|
| 782 |
const icon = q.scan_type.toLowerCase().includes('quick') ? 'bolt' :
|
| 783 |
q.scan_type.toLowerCase().includes('advanced') ? 'security' :
|
| 784 |
q.scan_type.toLowerCase().includes('deep') ? 'radar' : 'pie_chart';
|