We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 491c8bb commit c9e00c5Copy full SHA for c9e00c5
client/packages/lowcoder/src/pages/datasource/index.tsx
@@ -16,18 +16,11 @@ import { getDataSource, getDataSourceTypes } from "../../redux/selectors/datasou
16
export const DatasourceHome = () => {
17
const dispatch = useDispatch();
18
19
- const datasourceList = useSelector(getDataSource);
20
const datasourceTypes = useSelector(getDataSourceTypes);
21
22
const currentUser = useSelector(getUser);
23
const orgId = currentUser.currentOrgId;
24
25
- useEffect(() => {
26
- if (isEmpty(orgId) || datasourceList.length !== 0) {
27
- return;
28
- }
29
- dispatch(fetchDatasource({ organizationId: orgId }));
30
- }, [dispatch, datasourceList.length, orgId]);
31
32
useEffect(() => {
33
if (isEmpty(orgId) || datasourceTypes.length !== 0) {
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments