update version 4.6
This commit is contained in:
parent
b2fc9cb629
commit
675b76370f
Binary file not shown.
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"manifest_version": 3,
|
||||
"name": "Bid Extension",
|
||||
"version": "4.3",
|
||||
"version": "4.6",
|
||||
"description": "Bid Extension",
|
||||
"action": {
|
||||
"default_icon": {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"manifest_version": 3,
|
||||
"name": "Bid Extension",
|
||||
"version": "4.3",
|
||||
"version": "4.6",
|
||||
"description": "Bid Extension",
|
||||
"action": {
|
||||
"default_icon": {
|
||||
|
|
|
|||
|
|
@ -2,13 +2,17 @@ import CheckAllList from "@/pages/check-all-list";
|
|||
import FormFillQuantities from "@/pages/form-fill-quanties";
|
||||
|
||||
export default function BrokerbinLayout() {
|
||||
const url = new URL(window.location.href);
|
||||
// Render button check all list
|
||||
if (window.location.href.includes("https://members.brokerbin.com/partkey")) {
|
||||
if (
|
||||
url.pathname.includes("/partkey") ||
|
||||
(url.searchParams.get("loc") === "partkey" && url.searchParams.has("parts"))
|
||||
) {
|
||||
return <CheckAllList />;
|
||||
}
|
||||
|
||||
// Render forn quantities
|
||||
if (window.location.href.includes("https://members.brokerbin.com/rfq")) {
|
||||
if (url.href.includes("https://members.brokerbin.com/rfq")) {
|
||||
return <FormFillQuantities />;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -291,14 +291,14 @@ export default function FormPage() {
|
|||
</div>
|
||||
)}
|
||||
|
||||
{competitor && competitor?.[0].proxyamount && (
|
||||
{competitor && competitor?.[0]?.proxyamount && (
|
||||
<div className="flex flex-col gap-1">
|
||||
<Label className="text-destructive">Competitor max bid</Label>
|
||||
<Input
|
||||
readOnly
|
||||
type="number"
|
||||
className="placeholder:!text-xs"
|
||||
value={competitor?.[0].proxyamount}
|
||||
value={competitor?.[0]?.proxyamount}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue