mirror of
https://github.com/apache/superset.git
synced 2026-05-12 11:25:56 +00:00
fix(sqllab): prev shema/table options remained on fail (#29638)
This commit is contained in:
@@ -105,7 +105,7 @@ const TableElement = ({ table, ...props }: TableElementProps) => {
|
||||
const theme = useTheme();
|
||||
const dispatch = useDispatch();
|
||||
const {
|
||||
data: tableMetadata,
|
||||
currentData: tableMetadata,
|
||||
isSuccess: isMetadataSuccess,
|
||||
isLoading: isMetadataLoading,
|
||||
isError: hasMetadataError,
|
||||
@@ -119,7 +119,7 @@ const TableElement = ({ table, ...props }: TableElementProps) => {
|
||||
{ skip: !expanded },
|
||||
);
|
||||
const {
|
||||
data: tableExtendedMetadata,
|
||||
currentData: tableExtendedMetadata,
|
||||
isSuccess: isExtraMetadataSuccess,
|
||||
isLoading: isExtraMetadataLoading,
|
||||
isError: hasExtendedMetadataError,
|
||||
|
||||
Reference in New Issue
Block a user