@@ -4,7 +4,7 @@ import { EntityType, AttributeType } from "@/lib/Types"
44import { TableHeader , TableRow , TableHead , TableBody , TableCell , Table } from "./ui/table"
55import { Button } from "./ui/button"
66import { useState } from "react"
7- import { ArrowUpDown , ArrowUp , ArrowDown , Search , X , PencilOff , Pencil } from "lucide-react"
7+ import { ArrowUpDown , ArrowUp , ArrowDown , Search , X , PencilOff , Pencil , EyeOff , Eye } from "lucide-react"
88import { Select , SelectContent , SelectItem , SelectTrigger , SelectValue } from "./ui/select"
99import { Input } from "./ui/input"
1010import { AttributeDetails } from "./entity/AttributeDetails"
@@ -62,7 +62,7 @@ function Attributes({ entity, onSelect }: { entity: EntityType, onSelect: (entit
6262 )
6363 }
6464
65- if ( hideStandardFields ) filteredAttributes = filteredAttributes . filter ( attr => attr . IsCustomAttribute ) ;
65+ if ( hideStandardFields ) filteredAttributes = filteredAttributes . filter ( attr => attr . IsCustomAttribute || attr . IsStandardFieldModified ) ;
6666
6767 if ( ! sortColumn || ! sortDirection ) return filteredAttributes
6868
@@ -151,7 +151,7 @@ function Attributes({ entity, onSelect }: { entity: EntityType, onSelect: (entit
151151 title = "Control customfields"
152152 >
153153 {
154- hideStandardFields ? < PencilOff className = "w-4 h-4" /> : < Pencil className = "w-4 h-4" />
154+ hideStandardFields ? < EyeOff className = "w-4 h-4" /> : < Eye className = "w-4 h-4" />
155155 }
156156 </ Button >
157157 { ( searchQuery || typeFilter !== "all" ) && (
0 commit comments