Skip to content

Commit

Permalink
Fix CREATE_DATASET_TEXT and tooltip in footer, add todo note to histo…
Browse files Browse the repository at this point in the history
…ry functionality in DatabaseModal
  • Loading branch information
lyndsiWilliams committed Feb 1, 2023
1 parent 4bafc1a commit e80adab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,8 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
};

const redirectURL = (url: string) => {
/* TODO (lyndsiWilliams): This check and passing history
as a prop can be removed once SQL Lab is in the SPA */
if (!isEmpty(history)) {
history?.push(url);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function Footer({
}
};

const CREATE_DATASET_TEXT = t('Create Dataset and Create Chart');
const CREATE_DATASET_TEXT = t('Create dataset and create chart');
const disabledCheck =
!datasetObject?.table_name ||
!hasColumns ||
Expand Down
1 change: 1 addition & 0 deletions superset-frontend/src/views/CRUD/data/dataset/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export const PanelRow = styled(Row)`
export const FooterRow = styled(Row)`
flex: 0 0 auto;
height: ${({ theme }) => theme.gridUnit * 16}px;
z-index: 0;
`;

export const StyledLayoutHeader = styled.div`
Expand Down

0 comments on commit e80adab

Please sign in to comment.