Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const StaleSection: FC<StaleSectionProps> = ({
<strong>flagsmith/flagsmith</strong> to clean up{' '}
<strong>{flag.name}</strong>.
<WarningMessage
warningMessageClass='mt-4'
warningMessageClass='d-block mt-4'
warningMessage={
<>
Cleaning up a feature flag means removing the flag checks from
Expand All @@ -119,18 +119,7 @@ const StaleSection: FC<StaleSectionProps> = ({
},
organisation_id: AccountStore.getOrganisation()?.id,
}).unwrap()
toast(
<span>
Cleanup issue created.{' '}
<a
href={result.html_url}
target='_blank'
rel='noopener noreferrer'
>
View on GitHub
</a>
</span>,
)
toast(<span>Cleanup issue created.</span>)
} catch {
toast('Failed to create cleanup issue', 'danger')
}
Expand Down
Loading