From 5f0e2a562e426bffa57e3baec84e09b484a86934 Mon Sep 17 00:00:00 2001 From: Matt Solomon Date: Wed, 23 Sep 2020 08:43:47 -0700 Subject: [PATCH 1/3] Add flag to show notice when zkSync servers are down --- app/assets/v2/js/cart.js | 1 + app/grants/templates/grants/cart-vue.html | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/app/assets/v2/js/cart.js b/app/assets/v2/js/cart.js index ff685c017ed..5fcf9c75bb7 100644 --- a/app/assets/v2/js/cart.js +++ b/app/assets/v2/js/cart.js @@ -72,6 +72,7 @@ Vue.component('grants-cart', { selectedNetwork: undefined, // used to force computed properties to update when document.web3network changes zkSyncFeeTotals: {}, // used to dispaly a string showing the total zkSync fees when checking out with Flow B zkSyncFeesString: undefined, // string generated from the above property + isZkSyncDown: true, // true if zkSync is having issues with their servers // SMS validation csrf: $("input[name='csrfmiddlewaretoken']").val(), validationStep: 'intro', diff --git a/app/grants/templates/grants/cart-vue.html b/app/grants/templates/grants/cart-vue.html index 3b7dc020b9c..8e069937c93 100644 --- a/app/grants/templates/grants/cart-vue.html +++ b/app/grants/templates/grants/cart-vue.html @@ -553,6 +553,11 @@

Verify your phone number