Merge pull request #1671 from vytenisstaugaitis/canary

fix: correct message on preview deployments disabling
This commit is contained in:
Mauricio Siu 2025-04-12 02:39:47 -06:00 committed by GitHub
commit 1c470b8ba7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -298,7 +298,11 @@ export const ShowPreviewSettings = ({ applicationId }: Props) => {
})
.then(() => {
refetch();
toast.success("Preview deployments enabled");
toast.success(
checked
? "Preview deployments enabled"
: "Preview deployments disabled",
);
})
.catch((error) => {
toast.error(error.message);