mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-02 01:38:00 +00:00
fix(@wallet): [re-add] tx history view
Fixes #4684 Correctly display the date and if the node is an archival node
This commit is contained in:
parent
f67ffde12c
commit
485d6a370d
@ -142,7 +142,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
id: timeValue
|
id: timeValue
|
||||||
text: new Date(parseInt(timestamp)).toLocaleString(locale)
|
text: new Date(parseInt(timestamp) * 1000).toLocaleString(locale)
|
||||||
font.pixelSize: Style.current.primaryTextFontSize
|
font.pixelSize: Style.current.primaryTextFontSize
|
||||||
anchors.rightMargin: Style.current.smallPadding
|
anchors.rightMargin: Style.current.smallPadding
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,7 @@ QtObject {
|
|||||||
|
|
||||||
property var history: walletSectionTransactions
|
property var history: walletSectionTransactions
|
||||||
property var historyTransactions: walletSectionTransactions.model
|
property var historyTransactions: walletSectionTransactions.model
|
||||||
|
property bool isNonArchivalNode: history.isNonArchivalNode
|
||||||
|
|
||||||
property var savedAddresses: walletSectionSavedAddresses.model
|
property var savedAddresses: walletSectionSavedAddresses.model
|
||||||
|
|
||||||
@ -83,11 +84,6 @@ QtObject {
|
|||||||
// return walletModel.getLatestBlockNumber()
|
// return walletModel.getLatestBlockNumber()
|
||||||
}
|
}
|
||||||
|
|
||||||
function isNonArchivalNode() {
|
|
||||||
// Not Refactored Yet
|
|
||||||
// return walletModel.isNonArchivalNode
|
|
||||||
}
|
|
||||||
|
|
||||||
function setInitialRange() {
|
function setInitialRange() {
|
||||||
// Not Refactored Yet
|
// Not Refactored Yet
|
||||||
// walletModel.setInitialRange()
|
// walletModel.setInitialRange()
|
||||||
@ -154,15 +150,13 @@ QtObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function isFetchingHistory() {
|
function isFetchingHistory() {
|
||||||
// Not Refactored Yet
|
return history.isFetchingHistory(currentAccount.address)
|
||||||
// return history.isFetchingHistory(walletModel.accountsView.currentAccount.address)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function loadTransactionsForAccount(pageSize) {
|
function loadTransactionsForAccount(pageSize) {
|
||||||
// Not Refactored Yet
|
history.loadTransactionsForAccount(currentAccount.address,
|
||||||
// history.loadTransactionsForAccount(walletModel.accountsView.currentAccount.address,
|
historyTransactions.getLastTxBlockNumber(),
|
||||||
// historyTransactions.getLastTxBlockNumber(),
|
pageSize, true)
|
||||||
// pageSize, true)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function fetchCollectionCollectiblesList(slug) {
|
function fetchCollectionCollectiblesList(slug) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user