change loading prop behavior for subscriptions.vue
This commit is contained in:
parent
562991b6a8
commit
0815236ffb
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue