From 2526221095fa7c24e3200162224b98453e51d38e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Sun, 15 Jan 2023 20:37:43 +0100 Subject: [PATCH] Rename isLoadingRegistry to loadingRegistry --- src/components/vue/PlaylistSearchInput.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/vue/PlaylistSearchInput.vue b/src/components/vue/PlaylistSearchInput.vue index fa87871..4c8eb54 100644 --- a/src/components/vue/PlaylistSearchInput.vue +++ b/src/components/vue/PlaylistSearchInput.vue @@ -16,7 +16,7 @@ const searchHistory = ref( const playlistRegistry = ref([]); const searchSuggestions = ref(searchHistory.value); -const isLoadingRegistry = ref(true); +const loadingRegistry = ref(true); const registryLoadErrorOccurred = ref(false); const isLoadingSuggestions = ref(false); @@ -24,7 +24,7 @@ const canShowSuggestions = ref(false); const loadPlaylistRegistry = async () => { try { - isLoadingRegistry.value = true; + loadingRegistry.value = true; registryLoadErrorOccurred.value = false; const githubResponse = await fetch( @@ -45,7 +45,7 @@ const loadPlaylistRegistry = async () => { console.error(error); registryLoadErrorOccurred.value = true; } finally { - isLoadingRegistry.value = false; + loadingRegistry.value = false; } }; @@ -106,7 +106,7 @@ watch(searchTerm, (newSearchTerm) => findMatchingPlaylists(newSearchTerm));