From 243a41db882530e15e3fef936199ef27e386f1ee Mon Sep 17 00:00:00 2001 From: Garret Alfert Date: Fri, 18 Oct 2019 16:39:10 +0200 Subject: [PATCH] Remove volatile() property modifier The modifier got deprecated and wasn't actually needed in any of the used cases. --- app/components/topbar-account-panel/component.js | 2 +- app/controllers/dashboard/contributions/show.js | 2 +- app/controllers/dashboard/contributors/show.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/topbar-account-panel/component.js b/app/components/topbar-account-panel/component.js index 4934e88..d7ae8a4 100644 --- a/app/components/topbar-account-panel/component.js +++ b/app/components/topbar-account-panel/component.js @@ -14,7 +14,7 @@ export default Component.extend({ userHasEthereumWallet: computed(function() { return isPresent(window.ethereum); - }).volatile(), + }), showConnectButton: computed('userHasEthereumWallet', 'kredits.hasAccounts', function() { diff --git a/app/controllers/dashboard/contributions/show.js b/app/controllers/dashboard/contributions/show.js index ef7f280..cd9a097 100644 --- a/app/controllers/dashboard/contributions/show.js +++ b/app/controllers/dashboard/contributions/show.js @@ -7,6 +7,6 @@ export default Controller.extend({ ipfsGatewayUrl: computed(function() { return config.ipfs.gatewayUrl; - }).volatile() + }) }); diff --git a/app/controllers/dashboard/contributors/show.js b/app/controllers/dashboard/contributors/show.js index ebd0b1e..8d8be09 100644 --- a/app/controllers/dashboard/contributors/show.js +++ b/app/controllers/dashboard/contributors/show.js @@ -12,6 +12,6 @@ export default Controller.extend({ ipfsGatewayUrl: computed(function() { return config.ipfs.gatewayUrl; - }).volatile() + }) });