Skip to content

Commit

Permalink
Disable buying with EUR
Browse files Browse the repository at this point in the history
  • Loading branch information
sisou committed Dec 29, 2020
1 parent 7d47c8e commit 9efa82f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/layouts/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ export default defineComponent({
}
switch (hash) {
case '301bc5e02f0cf97c5efd61c78c3cfe6ee443cdfd4d17703e7515dccbcc618c3c':
settings.enableTrial(Trial.BUY_WITH_EURO); break;
// case '301bc5e02f0cf97c5efd61c78c3cfe6ee443cdfd4d17703e7515dccbcc618c3c':
// settings.enableTrial(Trial.BUY_WITH_EURO); break;
default: el.value = 'Nope, no cookie for you'; return;
}
Expand Down
6 changes: 4 additions & 2 deletions src/components/modals/BuyCryptoModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -415,14 +415,14 @@ export default defineComponent({
},
});
const canSign = computed(() =>
const canSign = false; /*computed(() =>
fiatAmount.value
&& !estimateError.value && !swapError.value
&& estimate.value
&& userBank.value
&& limits.value
&& !fetchingEstimate.value,
);
);*/
onMounted(() => {
initFastspotApi(Config.fastspot.apiEndpoint, Config.fastspot.apiKey);
Expand Down Expand Up @@ -778,6 +778,8 @@ export default defineComponent({
}
async function sign() {
alert('Disabled, for now.');
return false;
// currentlySigning.value = true;
// eslint-disable-next-line no-async-promise-executor
Expand Down

0 comments on commit 9efa82f

Please sign in to comment.