Skip to content

Commit

Permalink
A simplified implementation of loading message
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelvaara committed Jan 21, 2025
1 parent 19cda76 commit fff32b4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions resource/js/tab-alpha.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function startAlphaApp () {
}
},
computed: {
loadingMoreItemsMessage() {
loadingMessage() {
return $t('Loading more items');
}
},
Expand All @@ -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()
Expand Down

0 comments on commit fff32b4

Please sign in to comment.