Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'stardust-develop' into chore/update-wallet.rs
- Loading branch information
Showing
11 changed files
with
103 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
packages/shared/components/molecules/activity-info/NftActivityInformation.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<script lang="typescript"> | ||
import { KeyValueBox } from 'shared/components' | ||
import { selectedAccountIndex } from '@core/account' | ||
import { localize } from '@core/i18n' | ||
import { getNftByIdFromAllAccountNfts } from '@core/nfts' | ||
import { getBech32AddressFromAddressTypes, NftActivity } from '@core/wallet' | ||
export let activity: NftActivity | ||
$: storedNft = getNftByIdFromAllAccountNfts($selectedAccountIndex, activity?.nftId) | ||
let detailsList: { [key in string]: string } | ||
$: detailsList = { | ||
nftId: activity?.nftId, | ||
immutableIssuer: getBech32AddressFromAddressTypes(storedNft?.issuer), | ||
} | ||
</script> | ||
|
||
{#each Object.entries(detailsList) as [key, value]} | ||
<KeyValueBox keyText={localize(`general.${key}`)} valueText={value} isCopyable /> | ||
{/each} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export { default as AliasActivityInformation } from './AliasActivityInformation' | ||
export { default as GenericActivityInformation } from './GenericActivityInformation' | ||
export { default as NftActivityInformation } from './NftActivityInformation' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.