Skip to content

Commit

Permalink
Refactor subcomponents in advanced transform modals (opensearch-proje…
Browse files Browse the repository at this point in the history
…ct#460)

Signed-off-by: Tyler Ohlsen <[email protected]>
  • Loading branch information
ohltyler authored Nov 4, 2024
1 parent 500e671 commit ef463cf
Show file tree
Hide file tree
Showing 4 changed files with 776 additions and 662 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {
EuiSmallFilterButton,
EuiSuperSelectOption,
EuiCompressedSuperSelect,
EuiSmallButtonEmpty,
} from '@elastic/eui';
import { JsonField } from '../input_fields';
import {
Expand Down Expand Up @@ -297,14 +298,13 @@ export function SourceDataModal(props: SourceDataProps) {
</>
</EuiModalBody>
<EuiModalFooter>
<EuiSmallButton
<EuiSmallButtonEmpty
onClick={() => onClose()}
fill={false}
color="primary"
data-testid="closeSourceDataButton"
>
Cancel
</EuiSmallButton>
</EuiSmallButtonEmpty>
<EuiSmallButton
onClick={() => onUpdate()}
isLoading={isUpdating}
Expand All @@ -313,7 +313,7 @@ export function SourceDataModal(props: SourceDataProps) {
color="primary"
data-testid="updateSourceDataButton"
>
Update
Save
</EuiSmallButton>
</EuiModalFooter>
</EuiModal>
Expand Down
Loading

0 comments on commit ef463cf

Please sign in to comment.