fix: resolved template discriminated union error#5618
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Greptile SummaryThis PR attempts to fix the project template edit functionality broken by the What works:
What doesn't work:
Both issues stem from the fact that Recommendation: Apply the same Confidence Score: 2/5
|
scott-ray-wilson
left a comment
There was a problem hiding this comment.
LGTM, verified I could now save with old subject presetn
Context
This PR fixes the project template edit functionality broken due to previous rename we made for
secret-eventstosecret-event-subscriptions. To fix this - we just filter outsecrets-eventsfrom template before using it in UI. This is ok because secret-events was not used by anyone.Screenshots
Steps to verify the change
Type
Checklist
type(scope): short description(scope is optional, e.g.,fix: prevent crash on syncorfix(api): handle null response).