From 9bbcc3962870f126c5576c3d4775342c13110bce Mon Sep 17 00:00:00 2001 From: Gerhard Steenkamp Date: Wed, 10 Apr 2024 20:49:44 +0200 Subject: [PATCH] replace readOnly with hidden, casing change --- src/plugins/oSnap/components/Input/TransactionType.vue | 6 +++--- .../components/TransactionBuilder/ModalTransactionType.vue | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/oSnap/components/Input/TransactionType.vue b/src/plugins/oSnap/components/Input/TransactionType.vue index 0b13f162..c26e1da1 100644 --- a/src/plugins/oSnap/components/Input/TransactionType.vue +++ b/src/plugins/oSnap/components/Input/TransactionType.vue @@ -16,7 +16,7 @@ const transactionTypesWithDetails: { type: TransactionType; title: string; description: string; - readOnly?: boolean; + hidden?: boolean; }[] = [ { type: 'transferFunds', @@ -40,10 +40,10 @@ const transactionTypesWithDetails: { }, { type: 'safeImport', - title: 'Import Safe File', + title: 'Import Safe file', description: 'Import JSON file exported from Gnosis Safe transaction builder', - readOnly: true + hidden: true } ]; diff --git a/src/plugins/oSnap/components/TransactionBuilder/ModalTransactionType.vue b/src/plugins/oSnap/components/TransactionBuilder/ModalTransactionType.vue index 889f9f6c..5b0b33ce 100644 --- a/src/plugins/oSnap/components/TransactionBuilder/ModalTransactionType.vue +++ b/src/plugins/oSnap/components/TransactionBuilder/ModalTransactionType.vue @@ -8,7 +8,7 @@ defineProps<{ type: TransactionType; title: string; description: string; - readOnly?: boolean; + hidden?: boolean; }[]; }>(); @@ -31,7 +31,7 @@ function select(type: TransactionType) {