Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13711124
D11313.id33090.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D11313.id33090.diff
View Options
diff --git a/web/cashtab/src/components/Home/Tx.js b/web/cashtab/src/components/Home/Tx.js
--- a/web/cashtab/src/components/Home/Tx.js
+++ b/web/cashtab/src/components/Home/Tx.js
@@ -669,11 +669,29 @@
>
<DropdownIconWrapper>
<TextLayer>Copy Tx ID</TextLayer>
-
<ThemedCopySolid />
</DropdownIconWrapper>
</DropdownButton>
</CopyToClipboard>
+ {data.opReturnMessage && (
+ <CopyToClipboard
+ text={data.opReturnMessage}
+ >
+ <DropdownButton
+ onClick={() => {
+ generalNotification(
+ data.opReturnMessage,
+ 'Cashtab message copied to clipboard',
+ );
+ }}
+ >
+ <DropdownIconWrapper>
+ <TextLayer>Copy Msg</TextLayer>
+ <ThemedCopySolid />
+ </DropdownIconWrapper>
+ </DropdownButton>
+ </CopyToClipboard>
+ )}
<TxLink
key={data.txid}
href={`${currency.tokenExplorerUrl}/tx/${data.txid}`}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 10:34 (3 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5573279
Default Alt Text
D11313.id33090.diff (1 KB)
Attached To
D11313: [Cashtab] Copy OP_RETURN message button added to Tx collapse
Event Timeline
Log In to Comment