From b6d08869598ebcb0bdb9821ef8d7fff94501eb45 Mon Sep 17 00:00:00 2001 From: Gerhard Steenkamp <51655063+gsteenkamp89@users.noreply.github.com> Date: Sat, 20 Apr 2024 04:06:47 +0200 Subject: [PATCH 01/27] fix: prevent unsupported treasuries from crashing proposal page (#4683) * if safes not supported, fail silently but show error in console * fix interface * hide activate button if no config set up for chain * edit copy --- .../SettingsTreasuriesBlockItemButton.vue | 17 ++- src/plugins/oSnap/Create.vue | 51 +++++--- src/plugins/oSnap/types.ts | 4 + src/plugins/oSnap/utils/getters.ts | 120 ++++++++++++------ src/plugins/safeSnap/constants.ts | 6 +- 5 files changed, 129 insertions(+), 69 deletions(-) diff --git a/src/components/SettingsTreasuriesBlockItemButton.vue b/src/components/SettingsTreasuriesBlockItemButton.vue index 3feb8f35d..0f40cc100 100644 --- a/src/components/SettingsTreasuriesBlockItemButton.vue +++ b/src/components/SettingsTreasuriesBlockItemButton.vue @@ -1,7 +1,7 @@