From 7b39bde573e5a37c44104b254a8e07ea0b5b9c8a Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Fri, 13 May 2022 10:56:24 +0100 Subject: [PATCH] :bug: Fixes status check inheritance (#651) --- src/mixins/ItemMixin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mixins/ItemMixin.js b/src/mixins/ItemMixin.js index 628391d4..7b082dda 100644 --- a/src/mixins/ItemMixin.js +++ b/src/mixins/ItemMixin.js @@ -41,13 +41,13 @@ export default { size() { const validSizes = ['small', 'medium', 'large']; if (this.itemSize && validSizes.includes(this.itemSize)) return this.itemSize; - return this.appConfig.iconSize || defaultSize; + return this.$store.getters.iconSize || defaultSize; }, /* Determines if user has enabled online status checks */ enableStatusCheck() { const globalPref = this.appConfig.statusCheck || false; - const itemPref = this.item.statusCheck || false; - return itemPref || globalPref; + const itemPref = this.item.statusCheck; + return typeof itemPref === 'boolean' ? itemPref : globalPref; }, /* Determine how often to re-fire status checks */ statusCheckInterval() {