diff --git a/src/components/LinkItems/Section.vue b/src/components/LinkItems/Section.vue
index 6d197694..9c5a8d6f 100644
--- a/src/components/LinkItems/Section.vue
+++ b/src/components/LinkItems/Section.vue
@@ -13,7 +13,7 @@
>
- No Items to Show Yet
+ {{ $t('home.no-items-section') }}
-
60) interval = 60;
+ if (interval < 1) interval = 0;
+ return interval;
},
},
methods: {
@@ -180,19 +190,6 @@ export default {
triggerModal(url) {
this.$refs[`iframeModal-${this.groupId}`].show(url);
},
- /* Determines if user has enabled online status checks */
- shouldEnableStatusCheck(itemPreference) {
- const globalPreference = this.appConfig.statusCheck || false;
- return itemPreference !== undefined ? itemPreference : globalPreference;
- },
- /* Determine how often to re-fire status checks */
- getStatusCheckInterval() {
- let interval = this.appConfig.statusCheckInterval;
- if (!interval) return 0;
- if (interval > 60) interval = 60;
- if (interval < 1) interval = 0;
- return interval;
- },
/* Sorts items alphabetically using the title attribute */
sortAlphabetically(items) {
return items.sort((a, b) => (a.title > b.title ? 1 : -1));
@@ -205,7 +202,7 @@ export default {
return items;
},
/* Sorts items by most recently used */
- sortBLastUsed(items) {
+ sortByLastUsed(items) {
const usageCount = JSON.parse(localStorage.getItem(localStorageKeys.LAST_USED) || '{}');
const glu = (item) => usageCount[item.id] || 0;
items.reverse().sort((a, b) => (glu(a) < glu(b) ? 1 : -1));