@@ -296,7 +296,7 @@ class Profile extends View {
}
let qrCodeEl = $(this.qrRef.current);
qrCodeEl.empty();
- State.local.get('hasFollowers').on(this.inject());
+ State.local.get('noFollowers').on(this.inject());
this.getProfileDetails();
if (chat) {
$(`input[name=notificationPreference][value=${ chat.notificationSetting }]`).attr('checked', 'checked');
diff --git a/src/js/views/Store.js b/src/js/views/Store.js
index cddcbfa7..51e508b8 100644
--- a/src/js/views/Store.js
+++ b/src/js/views/Store.js
@@ -92,7 +92,7 @@ class Store extends View {
const cartTotalItems = Object.keys(this.cart).reduce((sum, k) => sum + this.cart[k], 0);
const keys = Object.keys(this.state.items);
return html`
- ${(this.props.store || !this.state.hasFollows) ? '' : html`<${Filters}/>`}
+ ${(this.props.store || this.state.noFollows) ? '' : html`<${Filters}/>`}
${cartTotalItems ? html`
diff --git a/src/js/views/View.js b/src/js/views/View.js
index b05384ac..aed63afe 100644
--- a/src/js/views/View.js
+++ b/src/js/views/View.js
@@ -27,11 +27,11 @@ class View extends Component {
getNotification() {
if (!this.followsSubscribed) {
this.followsSubscribed = true;
- State.local.get('hasFollowers').on(this.inject());
- State.local.get('hasFollows').on(this.inject());
+ State.local.get('noFollowers').on(this.inject());
+ State.local.get('noFollows').on(this.inject());
}
- if (!this.state.hasFollows) {
+ if (this.state.noFollows) {
return html`
@@ -48,7 +48,7 @@ class View extends Component {
`
}
- if (!this.state.hasFollowers) {
+ if (this.state.noFollowers) {
return html`