mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
Fix formatting and indentation issues in StatementGenerator.ts and LogsViewer.tsx
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user