Skip to content

Commit

Permalink
chore(dataset): enable reload for schema and table
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpark committed Nov 3, 2022
1 parent 68e8b00 commit 72096f4
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 @@ -306,7 +306,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 @@ -327,7 +327,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 72096f4

Please sign in to comment.