show subscribe button only if user is logged in

This commit is contained in:
taehoon 2019-04-25 04:33:18 -04:00
parent 646d197bf1
commit deee07d6fb

View File

@ -72,7 +72,7 @@
</button> </button>
</span> </span>
</div> </div>
<div> <div v-if="loggedIn">
<ProgressButton :click="subscribeUser" v-if="!user.subscribing"> <ProgressButton :click="subscribeUser" v-if="!user.subscribing">
Subscribe Subscribe
</ProgressButton> </ProgressButton>