diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/components/HistoryItem.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/components/HistoryItem.tsx | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/packages/taler-wallet-webextension/src/components/HistoryItem.tsx b/packages/taler-wallet-webextension/src/components/HistoryItem.tsx index f65535a3d..4b44365ea 100644 --- a/packages/taler-wallet-webextension/src/components/HistoryItem.tsx +++ b/packages/taler-wallet-webextension/src/components/HistoryItem.tsx @@ -136,20 +136,7 @@ export function HistoryItem(props: { tx: Transaction }): VNode { ); case TransactionType.Reward: return ( - <Layout - id={tx.transactionId} - amount={tx.amountEffective} - debitCreditIndicator={"credit"} - title={new URL(tx.merchantBaseUrl).hostname} - timestamp={AbsoluteTime.fromPreciseTimestamp(tx.timestamp)} - iconPath={"T"} - currentState={tx.txState.major} - description={ - tx.txState.major === TransactionMajorState.Pending - ? i18n.str`Grabbing the tipping...` - : undefined - } - /> + <div>not supported</div> ); case TransactionType.Refresh: return ( @@ -269,12 +256,12 @@ function Layout(props: LayoutProps): VNode { style={{ backgroundColor: props.currentState === TransactionMajorState.Pending || - props.currentState === TransactionMajorState.Dialog + props.currentState === TransactionMajorState.Dialog ? "lightcyan" : props.currentState === TransactionMajorState.Failed ? "#ff000040" : props.currentState === TransactionMajorState.Aborted || - props.currentState === TransactionMajorState.Aborting + props.currentState === TransactionMajorState.Aborting ? "#00000010" : "inherit", alignItems: "center", |