mirror of
https://github.com/moghtech/komodo.git
synced 2026-04-27 11:50:24 -05:00
label blacklist correctly
This commit is contained in:
@@ -74,11 +74,12 @@ export const ResourcesConfig = ({
|
||||
})
|
||||
: all_resources;
|
||||
return (
|
||||
<ConfigItem label="Resources">
|
||||
<ConfigItem label={`Resource ${blacklist ? "Blacklist" : "Whitelist"}`}>
|
||||
<div className="flex items-center gap-4">
|
||||
{resources.length ? (
|
||||
<div className="text-muted-foreground">
|
||||
Alerts filtered by {resources.length} resources
|
||||
Alerts {blacklist ? "blacklisted" : "whitelisted"} by{" "}
|
||||
{resources.length} resources
|
||||
</div>
|
||||
) : undefined}
|
||||
<Dialog open={open} onOpenChange={setOpen}>
|
||||
|
||||
Reference in New Issue
Block a user