1
0
Fork 0
mirror of synced 2024-09-29 08:41:16 +13:00
This commit is contained in:
Martin McKeaveney 2021-01-18 15:47:02 +00:00
parent d13883135b
commit c91e442fee

View file

@ -10,26 +10,6 @@
let loading = false
let error = false
// async function fetchData() {
// try {
// loading = true
// const response = await api.fetchDataForQuery(
// $params.selectedDatasource,
// query._id
// )
// data = response.rows || []
// error = false
// } catch (err) {
// error = `${query}: Query error. (${err.message}). This could be a problem with your datasource configuration.`
// notifier.danger(error)
// } finally {
// loading = false
// }
// }
// Fetch rows for specified query
// $: query && fetchData()
</script>
{#if error}