mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
Fix formatting and indentation issues in StatementGenerator.ts and LogsViewer.tsx
This commit is contained in:
parent
d1efe9ef84
commit
2ae8bd0da4
@ -399,9 +399,11 @@ export default class StatementGenerator<TBaseModel extends AnalyticsBaseModel> {
|
||||
}}`
|
||||
);
|
||||
} else if (value instanceof IsNull) {
|
||||
if(tableColumn.type === TableColumnType.Text) {
|
||||
whereStatement.append(SQL`AND (${key} IS NULL OR ${key} = '')`);
|
||||
}else{
|
||||
if (tableColumn.type === TableColumnType.Text) {
|
||||
whereStatement.append(
|
||||
SQL`AND (${key} IS NULL OR ${key} = '')`
|
||||
);
|
||||
} else {
|
||||
whereStatement.append(SQL`AND ${key} IS NULL`);
|
||||
}
|
||||
} else if (
|
||||
|
@ -52,11 +52,9 @@ const DashboardLogsViewer: FunctionComponent<ComponentProps> = (
|
||||
type GetQueryFunction = () => Query<Log>;
|
||||
|
||||
const getQuery: GetQueryFunction = (): Query<Log> => {
|
||||
const query: Query<Log> = {
|
||||
|
||||
};
|
||||
const query: Query<Log> = {};
|
||||
|
||||
if(props.telemetryServiceIds && props.telemetryServiceIds.length > 0) {
|
||||
if (props.telemetryServiceIds && props.telemetryServiceIds.length > 0) {
|
||||
query.serviceId = new Includes(props.telemetryServiceIds);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user