Skip to content

Commit

Permalink
fix(@dpc-sdp/ripple-ui-core): set firstLoad in finally block
Browse files Browse the repository at this point in the history
  • Loading branch information
David Featherston committed Jun 26, 2024
1 parent a74501b commit 876b84e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/ripple-tide-search/composables/useTideSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,13 +561,12 @@ export default ({
if (typeof onMapResultsHook.value === 'function') {
onMapResultsHook.value()
}

isBusy.value = false
firstLoad.value = true
} catch (error) {
console.error(error)
searchError.value = error
} finally {
isBusy.value = false
firstLoad.value = true
}
}

Expand Down

0 comments on commit 876b84e

Please sign in to comment.