j1wonpark commented on code in PR #4075:
URL: https://github.com/apache/amoro/pull/4075#discussion_r2778223040
##########
amoro-web/src/views/tables/components/Details.vue:
##########
@@ -124,6 +128,22 @@ async function getTableDetails() {
setBaseDetailInfo()
}
catch (error) {
+ const errorMessage = (error as Error)?.message || ''
+ const isNotFoundError = /not exist|not found/i.test(errorMessage)
Review Comment:
Thanks for the review! Fixed in f716e97 — params are now snapshot at the
start of `getTableDetails()` so that both the API call and the catch block use
the same values, preventing the race condition when the route changes during an
in-flight request.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]