Mester-Ulquiorra / web

The frontend of the Ulquiorra UCP (User Control Panel). This does not contain the backend API!
https://ucp.mester.info
BSD Zero Clause License
1 stars 0 forks source link

Punishment alerts #12

Closed noClaps closed 1 year ago

cloudflare-workers-and-pages[bot] commented 1 year ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2dee528
Status: ✅  Deploy successful!
Preview URL: https://9aa77758.ulquiorra-ucp.pages.dev
Branch Preview URL: https://punishment-alerts.ulquiorra-ucp.pages.dev

View logs

noClaps commented 1 year ago

@MesterMan03 I'm getting errors on all usages of alert.data.status and alert.data.active. If you have a fix then please commit to this branch.

MesterMan03 commented 1 year ago

@MesterMan03 I'm getting errors on all usages of alert.data.status and alert.data.active. If you have a fix then please commit to this branch.

remember when I said we need those functions that just check if alert.type === "appeal" yes, this is why

MesterMan03 commented 1 year ago

@noClaps ok try now I also added some more TypeScript conventions to some parts of the code which should give you better autocomplete