File tree Expand file tree Collapse file tree
app/(protected)/scanreports/[id]/tables/[tableId]
components/recommendations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,14 +37,14 @@ export const columns = (
3737 prePath . endsWith ( "/" ) ? prePath : prePath + "/"
3838 } fields/${ id } `}
3939 >
40- < Button variant = "link" className = "font-bold" >
40+ < Button variant = "link" className = "font-bold dark:text-white " >
4141 { name }
4242 </ Button >
4343 </ Link >
4444 < CopyButton textToCopy = { name } />
4545 </ div >
4646 ) ;
47- } ,
47+ }
4848 } ,
4949 {
5050 id : "description" ,
@@ -57,7 +57,7 @@ export const columns = (
5757 />
5858 ) ,
5959 enableHiding : true ,
60- enableSorting : true ,
60+ enableSorting : true
6161 } ,
6262 {
6363 id : "Data Type" ,
@@ -70,7 +70,7 @@ export const columns = (
7070 />
7171 ) ,
7272 enableHiding : true ,
73- enableSorting : true ,
73+ enableSorting : true
7474 } ,
7575 {
7676 id : "Concepts" ,
@@ -88,7 +88,7 @@ export const columns = (
8888 < ConceptTags concepts = { concepts ?? [ ] } deleteSR = { deleteSR } />
8989 </ Suspense >
9090 ) ;
91- } ,
91+ }
9292 } ,
9393 {
9494 id : "Add Concept" ,
@@ -106,8 +106,8 @@ export const columns = (
106106 addSR = { addSR }
107107 />
108108 ) ;
109- } ,
110- } ,
109+ }
110+ }
111111 ] ;
112112
113113 // AI Suggestions Column & setting as 4th Column
@@ -132,7 +132,7 @@ export const columns = (
132132 contentType = "scanreportfield"
133133 />
134134 ) ;
135- } ,
135+ }
136136 } ) ;
137137 } else {
138138 baseColumns . splice ( 5 , 0 , {
@@ -150,7 +150,7 @@ export const columns = (
150150 permissions = { permissions }
151151 />
152152 ) ;
153- } ,
153+ }
154154 } ) ;
155155 }
156156 return baseColumns ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import {
1212 DropdownMenuContent ,
1313 DropdownMenuLabel ,
1414 DropdownMenuSeparator ,
15- DropdownMenuTrigger ,
15+ DropdownMenuTrigger
1616} from "@/components/ui/dropdown-menu" ;
1717import { domains } from "@/constants/domains" ;
1818import { DropdownMenuItem } from "@radix-ui/react-dropdown-menu" ;
@@ -21,7 +21,7 @@ export function AISuggestionsButton({
2121 value,
2222 tableId,
2323 rowId,
24- contentType,
24+ contentType
2525} : {
2626 value : string ;
2727 tableId : string ;
@@ -92,7 +92,7 @@ export function AISuggestionsButton({
9292 < Button
9393 variant = "outline"
9494 size = "sm"
95- className = "gap-2 border-purple-400 hover:bg-purple-100 hover:text-black"
95+ className = "gap-2 border-purple-400 hover:bg-purple-100 hover:text-black dark:hover:bg-gray-700 dark:hover:text-white "
9696 disabled = { isLoading }
9797 >
9898 { isLoading ? (
@@ -108,7 +108,7 @@ export function AISuggestionsButton({
108108 align = "start"
109109 className = "w-52 overflow-y-auto max-h-96"
110110 >
111- < DropdownMenuLabel className = "text-black font-semibold text-center" >
111+ < DropdownMenuLabel className = "text-black dark:text-white font-semibold text-center" >
112112 Select Relevant Domain
113113 </ DropdownMenuLabel >
114114 < DropdownMenuSeparator />
You can’t perform that action at this time.
0 commit comments