Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/client/src/components/ads/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ const btnFontStyles = (props: ThemeProp & ButtonProps): BtnFontType => {
};

const ButtonStyles = css<ThemeProp & ButtonProps>`
user-select: none;
width: ${(props) =>
props.width ? props.width : props.fill ? "100%" : "auto"};
height: ${(props) => btnFontStyles(props).height}px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ const GENERATE_PAGE_MODE = {
REPLACE_EMPTY: "REPLACE_EMPTY", // current page's content (DSL) is updated to template DSL. (same pageId)
};

//

function GeneratePageSubmitBtn({
disabled,
isLoading,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ function GoogleSheetForm(props: Props) {
</>
) : null}

{selectedSheet.value && columnHeaderList.length
{selectedSheet.value
? renderSubmitButton({
onSubmit,
disabled: !columnHeaderList.length || isFetchingColumnHeaderList,
Expand Down