Adjust this code in loadResultsForProvider(providerId, term) in TableCellLink.vue:
let res = null
try {
res = await axios.get(generateOcsUrl('/search/providers/' + providerId + '/search?term=' + term))
} catch (e) {
displayError(e, t('tables', 'Could not load link provider results.'))
this.setProviderLoading(providerId, false)
return
}
consider combining errors from multiple providers—right now each failure (like network issues or provider unavailability) pops up its own message, which could get a bit much for users. A single, combined error might feel smoother
Originally posted by @silverkszlo in #1977 (comment)
Yeah, makes sense. And right now that I have added the link validation, trying to save several times by hitting enter multiple times with an invalid link leads to multiple popups with the same message. Could be improved for sure
Originally posted by @enjeck in #1977 (comment)
Adjust this code in
loadResultsForProvider(providerId, term)inTableCellLink.vue:consider combining errors from multiple providers—right now each failure (like network issues or provider unavailability) pops up its own message, which could get a bit much for users. A single, combined error might feel smoother
Originally posted by @silverkszlo in #1977 (comment)
Yeah, makes sense. And right now that I have added the link validation, trying to save several times by hitting enter multiple times with an invalid link leads to multiple popups with the same message. Could be improved for sure
Originally posted by @enjeck in #1977 (comment)