added copy button for localtion url
This commit is contained in:
parent
fa923d4c3a
commit
9f5a167613
@ -61,10 +61,10 @@ const BranchDetails = ({ branch }) => {
|
|||||||
</a>
|
</a>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
className="btn btn-sm btn-light border ms-2"
|
className="btn btn-xs btn-secondry border ms-2"
|
||||||
onClick={handleCopy}
|
onClick={handleCopy}
|
||||||
>
|
>
|
||||||
{copied ? "Copied!" : "Copy"}
|
<i className={`bx bx-xs me-1 ${copied ? "bxs-copy-alt":"bx-copy-alt"} `} ></i> {copied ? "Copied!" : "Copy"}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
@ -77,7 +77,7 @@ const DetailRow = ({ label, value }) => (
|
|||||||
<div className="text-secondary" style={{ width: "90px", flexShrink: 0 }}>
|
<div className="text-secondary" style={{ width: "90px", flexShrink: 0 }}>
|
||||||
{label}:
|
{label}:
|
||||||
</div>
|
</div>
|
||||||
<div className="fw-medium" style={{ wordBreak: "break-word" }}>
|
<div className="" style={{ wordBreak: "break-word" }}>
|
||||||
{value || "N/A"}
|
{value || "N/A"}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user