forked from administration/panel
chore: add proper list for classifications
parent
c54c690fe4
commit
64671be091
|
@ -19,17 +19,15 @@ import {
|
|||
} from "@/components/ui/popover";
|
||||
import { TableCell, TableRow } from "@/components/ui/table";
|
||||
import { toast } from "@/components/ui/use-toast";
|
||||
import { deleteEmailClassification, updateEmailClassification } from "@/lib/actions";
|
||||
import {
|
||||
deleteEmailClassification,
|
||||
updateEmailClassification,
|
||||
} from "@/lib/actions";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { Check } from "lucide-react";
|
||||
import { useState } from "react";
|
||||
|
||||
export const CLASSIFICATIONS = [
|
||||
"DISPOSABLE",
|
||||
"GAYSEX",
|
||||
"HOMOSEXUAL",
|
||||
"FDGIUHDIFUIOFZH",
|
||||
];
|
||||
export const CLASSIFICATIONS = ["DISPOSABLE", "PRONE_TO_ABUSE", "ALIAS"];
|
||||
|
||||
export default function EmailClassificationRow({
|
||||
domain,
|
||||
|
@ -117,7 +115,7 @@ export default function EmailClassificationRow({
|
|||
toast({
|
||||
title: "Classification deleted",
|
||||
});
|
||||
} catch(e) {
|
||||
} catch (e) {
|
||||
toast({
|
||||
title: "Failed to delete classification",
|
||||
description: String(e),
|
||||
|
|
Loading…
Reference in New Issue