Skip to content

Commit

Permalink
Fix show more functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
ebraminio committed Dec 15, 2024
1 parent 47c116c commit a3f3b12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@
const toggleDarkMode = () => {
darkMode.value = !darkMode.value;
};
const showMore = ref(false);
const enableShowMore = () => {
showMore.value = true;
const isShowMore = ref(false);
const showMore = () => {
isShowMore.value = true;
};
/*
resetFilters() {
Expand Down Expand Up @@ -375,7 +375,7 @@
const getImdbLink = imdbID => `https://www.imdb.com/title/${imdbID}`;
const getWikidataLink = film => film;

return { showMore, enableShowMore, searchTerm, combineSimilarChars, posterMode, filteredItems, items, getImageUrl, getImdbLink, getWikidataLink, getItemTitleWithYear, darkMode, toggleDarkMode, sortOrder, selectedYear, availableYears, availableDesigners, selectedDesigner, getImageLink };
return { showMore, isShowMore, searchTerm, combineSimilarChars, posterMode, filteredItems, items, getImageUrl, getImdbLink, getWikidataLink, getItemTitleWithYear, darkMode, toggleDarkMode, sortOrder, selectedYear, availableYears, availableDesigners, selectedDesigner, getImageLink };
}
}).mount('#app');
</script>
Expand Down

0 comments on commit a3f3b12

Please sign in to comment.