Commit f06dc3c6 authored by Anton's avatar Anton

fix linter errors

parent f54f2f42
......@@ -32,7 +32,7 @@
<script>
import PromiseSpan from './PromiseSpan'
import { DateTime } from 'luxon'
// import { DateTime } from 'luxon'
export default {
props: ['config', 'path', 'query', 'title', 'basePath', 'hasShow', 'requestTransform'],
components: {
......@@ -140,7 +140,8 @@
if (Array.isArray(data.items)) {
this.rows = data.items.map(r => Object.assign(r, {actions: ''}))
}
} catch (err) {
}
catch (err) {
if (typeof this.$captureException === 'function') this.$captureException(err)
else console.error(err)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment