BigW Consortium Gitlab

change loading prop behavior for subscriptions.vue

parent 562991b6
......@@ -40,7 +40,7 @@ export default {
<template>
<div class="block subscriptions">
<subscriptions
:loading="store.subscribed === null"
:loading="store.isFetching.subscriptions"
:subscribed="store.subscribed"
/>
</div>
......
......@@ -37,7 +37,7 @@
},
computed: {
showLoadingState() {
return this.subscribed === null || this.loading;
return this.subscribed === null;
},
notificationIcon() {
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