change loading prop behavior for subscriptions.vue
This commit is contained in:
parent
562991b6a8
commit
0815236ffb
|
@ -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 New Issue