Remove volatile() property modifier
The modifier got deprecated and wasn't actually needed in any of the used cases.
This commit is contained in:
@@ -14,7 +14,7 @@ export default Component.extend({
|
|||||||
|
|
||||||
userHasEthereumWallet: computed(function() {
|
userHasEthereumWallet: computed(function() {
|
||||||
return isPresent(window.ethereum);
|
return isPresent(window.ethereum);
|
||||||
}).volatile(),
|
}),
|
||||||
|
|
||||||
showConnectButton: computed('userHasEthereumWallet',
|
showConnectButton: computed('userHasEthereumWallet',
|
||||||
'kredits.hasAccounts', function() {
|
'kredits.hasAccounts', function() {
|
||||||
|
|||||||
@@ -7,6 +7,6 @@ export default Controller.extend({
|
|||||||
|
|
||||||
ipfsGatewayUrl: computed(function() {
|
ipfsGatewayUrl: computed(function() {
|
||||||
return config.ipfs.gatewayUrl;
|
return config.ipfs.gatewayUrl;
|
||||||
}).volatile()
|
})
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ export default Controller.extend({
|
|||||||
|
|
||||||
ipfsGatewayUrl: computed(function() {
|
ipfsGatewayUrl: computed(function() {
|
||||||
return config.ipfs.gatewayUrl;
|
return config.ipfs.gatewayUrl;
|
||||||
}).volatile()
|
})
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user