From fff32b406206e8db28493d99f1850a0bc06f622a Mon Sep 17 00:00:00 2001 From: Mika Vaara Date: Tue, 21 Jan 2025 17:03:19 +0200 Subject: [PATCH] A simplified implementation of loading message --- resource/js/tab-alpha.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/resource/js/tab-alpha.js b/resource/js/tab-alpha.js index 46e69be75..d976a840b 100644 --- a/resource/js/tab-alpha.js +++ b/resource/js/tab-alpha.js @@ -17,7 +17,7 @@ function startAlphaApp () { } }, computed: { - loadingMoreItemsMessage() { + loadingMessage() { return $t('Loading more items'); } }, @@ -33,8 +33,6 @@ function startAlphaApp () { if (document.querySelector('#alphabetical > a').classList.contains('active')) { this.loadLetters() } - - this.loadingMessage = this.loadingMoreItemsMessage // window.SKOSMOS.msgs[window.SKOSMOS.lang]['Loading more items'] ?? window.SKOSMOS.msgs.en['Loading more items'] }, beforeUpdate () { this.setListStyle()