Skip to content

Commit 931a27c

Browse files
fix: sending undefined checkType to find table request, if ==SOURCES
1 parent 74e6e76 commit 931a27c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

dqops/src/main/frontend/src/components/Connection/ConnectionView/ConnectionTables.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ export default function ConnectionTables() {
2020
const [filters, setFilters] = useState<any>({
2121
page: 1,
2222
pageSize: 50,
23-
checkType:
24-
checkTypes == CheckTypes.SOURCES ? CheckTypes.MONITORING : checkTypes
23+
checkType: checkTypes == CheckTypes.SOURCES ? undefined : checkTypes
2524
});
2625
const [table, setTable] = useState<string>();
2726
const [schema, setSchema] = useState<string>();

dqops/src/main/frontend/src/pages/Schema/SchemaTables.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const SchemaTables = () => {
5656
filters.page,
5757
filters.pageSize,
5858
filter,
59-
checkTypes === CheckTypes.SOURCES ? CheckTypes.MONITORING : checkTypes
59+
checkTypes === CheckTypes.SOURCES ? undefined : checkTypes
6060
).then((res) => {
6161
const arr: TTableWithSchema[] = [];
6262
res.data.forEach((item) => {

0 commit comments

Comments
 (0)