Changes
This commit is contained in:
@@ -806,7 +806,7 @@ export const useCreatePdf = async (invoiceData,backgroundSourceBuffer) => {
|
||||
color:rgb(0,0,0),
|
||||
lineHeight:12,
|
||||
opacity: 1,
|
||||
maxWidth: 240,
|
||||
maxWidth: 500,
|
||||
font: fontBold
|
||||
})
|
||||
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
|
||||
|
||||
export const useSearch = (searchString,items) => {
|
||||
|
||||
if(!searchString) {
|
||||
return items
|
||||
}
|
||||
|
||||
return items.filter(i => JSON.stringify(i).toLowerCase().includes(searchString.toLowerCase()))
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user