chore: fix eslint issues
parent
d9782dbbf6
commit
1bf9d506f6
|
@ -10,18 +10,14 @@ export const executeQueryAsync = async (
|
|||
namespace: Namespace,
|
||||
query: string
|
||||
): Promise<TimeSeriesResponse> => {
|
||||
try {
|
||||
const {data} = await proxy({
|
||||
source: proxyLink,
|
||||
db: namespace.database,
|
||||
rp: namespace.retentionPolicy,
|
||||
query,
|
||||
})
|
||||
const {data} = await proxy({
|
||||
source: proxyLink,
|
||||
db: namespace.database,
|
||||
rp: namespace.retentionPolicy,
|
||||
query,
|
||||
})
|
||||
|
||||
return data
|
||||
} catch (error) {
|
||||
throw error
|
||||
}
|
||||
return data
|
||||
}
|
||||
|
||||
export const getLogConfig = async (url: string) => {
|
||||
|
|
|
@ -393,7 +393,7 @@ class LogsTable extends Component<Props, State> {
|
|||
switch (column) {
|
||||
case 'message':
|
||||
return currentMessageWidth
|
||||
default:
|
||||
default: {
|
||||
let columnKey = column
|
||||
if (column === 'severity') {
|
||||
columnKey = `${column}_${severityFormat}`
|
||||
|
@ -404,6 +404,7 @@ class LogsTable extends Component<Props, State> {
|
|||
return width + inc
|
||||
}
|
||||
return width
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue