BigW Consortium Gitlab

change loading prop behavior for subscriptions.vue

parent 562991b6
...@@ -40,7 +40,7 @@ export default { ...@@ -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 @@ ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment