Skip to content

Commit

Permalink
Hide 'Start Enterprise trial' button instead of disabling it if licen…
Browse files Browse the repository at this point in the history
…se-key exists
  • Loading branch information
felixheidecke committed Sep 5, 2017
1 parent a15fa8e commit e0f9bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Trial.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template lang="pug">
div
button.uk-button.uk-button-primary.uk-margin-small-top.uk-width-1-1(@click="openModalStartEnterpriseKey", :disabled="licenseKeyExists") {{ t('Start Enterprise trial') }}
button.uk-button.uk-button-primary.uk-margin-small-top.uk-width-1-1(v-if="!licenseKeyExists", @click="openModalStartEnterpriseKey") {{ t('Start Enterprise trial') }}

#start-enterprise-trial(uk-modal='center: true')
.uk-modal-dialog
Expand Down

0 comments on commit e0f9bd2

Please sign in to comment.