Переглянути джерело

Merge branch 'main' of https://git.2fi-solutions.com/wayne.lee/tsms

tags/Baseline_180220205_Frontend
MSI\2Fi 10 місяці тому
джерело
коміт
115c1505d9
1 змінених файлів з 3 додано та 3 видалено
  1. +3
    -3
      src/components/InvoiceSearch/InvoiceSearchWrapper.tsx

+ 3
- 3
src/components/InvoiceSearch/InvoiceSearchWrapper.tsx Переглянути файл

@@ -27,10 +27,10 @@ const InvoiceSearchWrapper: React.FC & SubComponents = async () => {
let filteredInvoice = invoices
if (teamId) {
filteredInvoice = invoices.filter(i => i.teamId === teamId)
if (userStaff.isTeamLead == false) {
filteredInvoice = invoices
}
}
// else {
// filteredInvoice = []
// }

const convertedInvoices = filteredInvoice.map((invoice)=>{
return{


Завантаження…
Відмінити
Зберегти