diff --git a/packages/app/src/components/FeeData.vue b/packages/app/src/components/FeeData.vue index c7cf034e18..4663877049 100644 --- a/packages/app/src/components/FeeData.vue +++ b/packages/app/src/components/FeeData.vue @@ -2,6 +2,9 @@
+ + {{ t("transactions.table.paidByPaymaster") }} + @@ -18,15 +21,30 @@
{{ t("transactions.table.feeDetails.refunds") }}
- +
- {{ t("transactions.table.feeDetails.whyRefunded") }} +
+ {{ + t( + feeData?.isPaidByPaymaster + ? "transactions.table.feeDetails.whyPaymasterRefunded" + : "transactions.table.feeDetails.whyRefunded" + ) + }} + {{ t("transactions.table.feeDetails.whatIsPaymaster") }} +
@@ -77,7 +95,10 @@ const token = computed(() => { diff --git a/packages/app/src/components/transactions/PaymasterLabel.vue b/packages/app/src/components/transactions/PaymasterLabel.vue new file mode 100644 index 0000000000..568837d719 --- /dev/null +++ b/packages/app/src/components/transactions/PaymasterLabel.vue @@ -0,0 +1,16 @@ + + + + + diff --git a/packages/app/src/components/transactions/infoTable/TransferInfo.vue b/packages/app/src/components/transactions/infoTable/TransferInfo.vue index eb7b917ed6..3af4025081 100644 --- a/packages/app/src/components/transactions/infoTable/TransferInfo.vue +++ b/packages/app/src/components/transactions/infoTable/TransferInfo.vue @@ -1,6 +1,7 @@