diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-08-08 08:07:23 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-08-08 08:07:23 +0000 |
| commit | 99315622e96c7e4b58493ea6ce7998916ec27a6e (patch) | |
| tree | dd8a292aab41474a3a8e9a7a8c7e3a20c2079182 | |
| parent | 9468bb33e90badaad99d97df54c80da389c39093 (diff) | |
| parent | 64489b794a80b381d86ea226f0fe36457d5836be (diff) | |
Merged in Feature/new-cart-popup (pull request #224)
<iman> update quotation pop up bug
| -rw-r--r-- | src/core/components/elements/Navbar/NavbarDesktop.jsx | 2 | ||||
| -rw-r--r-- | src/lib/quotation/components/Quotationheader.jsx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/components/elements/Navbar/NavbarDesktop.jsx b/src/core/components/elements/Navbar/NavbarDesktop.jsx index b23b256e..6454c414 100644 --- a/src/core/components/elements/Navbar/NavbarDesktop.jsx +++ b/src/core/components/elements/Navbar/NavbarDesktop.jsx @@ -216,7 +216,7 @@ const NavbarDesktop = () => { <Search /> </div> <div className='flex gap-x-4 items-center'> - <Quotationheader quotationCount={quotationCount} /> + <Quotationheader quotationCount={quotationCount} data={pendingTransactions} /> <Cardheader cartCount={cartCount} /> diff --git a/src/lib/quotation/components/Quotationheader.jsx b/src/lib/quotation/components/Quotationheader.jsx index 10e3e147..0bb4dfe0 100644 --- a/src/lib/quotation/components/Quotationheader.jsx +++ b/src/lib/quotation/components/Quotationheader.jsx @@ -80,6 +80,7 @@ const Quotationheader = (quotationCount) => { useEffect(() => { setCountQuotation(quotationCount.quotationCount); + setProductQuotation(quotationCount.data); }, [quotationCount]); useEffect(() => { |
