Skip to content

Commit

Permalink
Update AddResourceModal
Browse files Browse the repository at this point in the history
  • Loading branch information
docia committed Jul 9, 2024
1 parent 57fe70a commit 3579c47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ export const styles = {
},
buttonsArea: {
display: 'flex',
justifyContent: 'end'
justifyContent: 'end',
gap: '30px'
},
addButton: { mr: '16px' }
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,16 @@ const AddResourceModal = <T extends TableItem>({
/>

<Box sx={styles.buttonsArea}>
<AppButton onClick={closeModal} variant={ButtonVariantEnum.Tonal}>
{t('common.cancel')}
</AppButton>
<AppButton
disabled={!selectedRows.length}
onClick={onAddItems}
sx={styles.addButton}
>
{t('common.add')}
</AppButton>
<AppButton onClick={closeModal} variant={ButtonVariantEnum.Tonal}>
{t('common.cancel')}
</AppButton>
</Box>

{uploadItem && (
Expand Down

0 comments on commit 3579c47

Please sign in to comment.