File tree Expand file tree Collapse file tree 7 files changed +339
-284
lines changed
components/product-detail
partner-management/components/general Expand file tree Collapse file tree 7 files changed +339
-284
lines changed Original file line number Diff line number Diff line change 58
58
}
59
59
.MuiInputLabel-shrink {
60
60
font-weight : bold ;
61
+ font-size : 18px ;
61
62
color : $brand-text !important ;
62
- background : $brand-dark !important ;
63
+ background : $brand-dark-gray !important ;
64
+ border-radius : 5px ;
63
65
padding : 0 10px ;
64
66
}
65
67
}
89
91
color : $brand-text !important ;
90
92
}
91
93
}
94
+ .add-material-button {
95
+ background-color : $brand-header-blue !important ;
96
+ color : white !important ;
97
+
98
+ & :hover {
99
+ background : $header-gradient-bg !important ;
100
+ border : 2px solid $brand-text !important ;
101
+ }
102
+ }
92
103
}
Original file line number Diff line number Diff line change 68
68
.contentArea {
69
69
padding : 0 ; // Remove default padding as components handle their own
70
70
height : calc (100vh - 68.8px ); /* Fixed height minus header */
71
- overflow : hidden ; // Prevent content area from scrolling - let components handle it
71
+ overflow : auto ;
72
72
display : flex ;
73
73
flex-direction : column ;
74
74
}
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export const shareCatalogPart = async (
60
60
manufacturerId,
61
61
manufacturerPartId,
62
62
businessPartnerNumber,
63
- customerPartId : customerPartId && customerPartId . trim ( ) ? customerPartId . trim ( ) : undefined ,
63
+ customerPartId : customerPartId ? .trim ( ) || undefined
64
64
} ;
65
65
66
66
const response = await axios . post < ApiPartData > (
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ function InstanceProductsTableToolbar(props: Readonly<InstanceProductsTableToolb
233
233
</ Toolbar >
234
234
) ;
235
235
}
236
- export default function InstanceProductsTable ( { part } : { part : PartType | null } ) {
236
+ export default function InstanceProductsTable ( { part } : { readonly part : PartType | null } ) {
237
237
const [ order , setOrder ] = useState < Order > ( 'asc' ) ;
238
238
const [ orderBy , setOrderBy ] = useState < keyof SerializedPart > ( 'customerPartId' ) ;
239
239
const [ selected , setSelected ] = useState < readonly number [ ] > ( [ ] ) ;
@@ -248,7 +248,7 @@ export default function InstanceProductsTable({ part }: { part: PartType | null
248
248
}
249
249
const loadData = async ( ) => {
250
250
try {
251
- const data = await fetchSerializedParts ( part . manufacturerId ! , part . manufacturerPartId ! ) ;
251
+ const data = await fetchSerializedParts ( part . manufacturerId , part . manufacturerPartId ) ;
252
252
const rowsWithId = data . map ( ( row , index ) => ( {
253
253
...row ,
254
254
id : index ,
You can’t perform that action at this time.
0 commit comments