openstatusHQ / openstatus

🏓 The open-source synthetic monitoring platform 🏓
https://openstatus.dev
GNU Affero General Public License v3.0
4.98k stars 278 forks source link

Fix: issue with cmd + s on status-page/new form #916

Closed Ipriyankrajai closed 2 days ago

Ipriyankrajai commented 5 days ago

Type of change

Description

Moved checkUniqueSlug funtion to onSubmit function.

Fixes #914

Before this PR

There was no validation for api on status page when you use cmd + s to save

After this PR

It will check for validation even if you use cmd + s to save

vercel[bot] commented 5 days ago

@Ipriyankrajai is attempting to deploy a commit to the OpenStatus Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 4 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
openstatus-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2024 6:06pm
thibaultleouay commented 2 days ago

Thanks again @Ipriyankrajai