change loading prop behavior for subscriptions.vue

This commit is contained in:
Mike Greiling 2018-01-12 14:49:34 -06:00
parent 562991b6a8
commit 0815236ffb
No known key found for this signature in database
GPG Key ID: 0303DF507FA67596
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ export default {
<template> <template>
<div class="block subscriptions"> <div class="block subscriptions">
<subscriptions <subscriptions
:loading="store.subscribed === null" :loading="store.isFetching.subscriptions"
:subscribed="store.subscribed" :subscribed="store.subscribed"
/> />
</div> </div>

View File

@ -37,7 +37,7 @@
}, },
computed: { computed: {
showLoadingState() { showLoadingState() {
return this.subscribed === null || this.loading; return this.subscribed === null;
}, },
notificationIcon() { notificationIcon() {
return this.subscribed ? ICON_ON : ICON_OFF; return this.subscribed ? ICON_ON : ICON_OFF;