Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
chore(dataset): enable reload for schema and table (apache#22032)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpark committed Nov 30, 2022
1 parent e4f9835 commit 51c6e7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export default function DatabaseSelector({
}

function renderSchemaSelect() {
const refreshIcon = !formMode && !readOnly && (
const refreshIcon = !readOnly && (
<RefreshLabel
onClick={() => setRefresh(refresh + 1)}
tooltipContent={t('Force refresh schema list')}
Expand Down
2 changes: 1 addition & 1 deletion superset-frontend/src/components/TableSelector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ const TableSelector: FunctionComponent<TableSelectorProps> = ({
/>
);

const refreshLabel = !formMode && !readOnly && (
const refreshLabel = !readOnly && (
<RefreshLabel
onClick={() => refetch()}
tooltipContent={t('Force refresh table list')}
Expand Down

0 comments on commit 51c6e7b

Please sign in to comment.