Skip to content

Commit

Permalink
Merge pull request #536 from SquirrelCorporation/bug-fix-popover-for-…
Browse files Browse the repository at this point in the history
…repo-errors

[BUG] Remove unnecessary popover styling and extend error handling
  • Loading branch information
SquirrelDeveloper authored Nov 29, 2024
2 parents cf4e9d6 + 7801287 commit c2c746e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,6 @@ const ContainerStacksSettings: React.FC = () => {
if (row.onError) {
return (
<Popover
overlayStyle={{
width: '400px',
height: '400px',
overflowY: 'scroll',
}}
content={
<Space direction="vertical" size={'small'}>
<Typography.Text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,6 @@ const PlaybookSettings: React.FC = () => {
if (row.onError) {
return (
<Popover
overlayStyle={{
width: '400px',
height: '400px',
overflowY: 'scroll',
}}
content={
<Space direction="vertical" size={'small'}>
<Typography.Text>
Expand Down
2 changes: 2 additions & 0 deletions shared-lib/src/types/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,8 @@ export type GitPlaybooksRepository = PlaybooksRepository & {
default: boolean;
gitService: Services;
accessToken?: string;
onError?: boolean;
onErrorMessage?: string;
}

export type LocalPlaybooksRepository = PlaybooksRepository & {
Expand Down

0 comments on commit c2c746e

Please sign in to comment.