Преглед на файлове

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{


Зареждане…
Отказ
Запис