fix: show event type setup tab in managed event types [CAL-2225] (#10367)
Co-authored-by: Leo Giovanetti <hello@leog.me>fix/reduce-team-list-payload
parent
6b9d2331fc
commit
db80afce40
|
@ -209,10 +209,8 @@ function EventTypeSingleLayout({
|
||||||
}`,
|
}`,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (isManagedEventType || isChildrenManagedEventType) {
|
const showWebhooks = !(isManagedEventType || isChildrenManagedEventType);
|
||||||
// Removing apps and workflows for manageg event types by admins v1
|
if (showWebhooks) {
|
||||||
navigation.splice(0, 1);
|
|
||||||
} else {
|
|
||||||
navigation.push({
|
navigation.push({
|
||||||
name: "webhooks",
|
name: "webhooks",
|
||||||
href: `/event-types/${eventType.id}?tabName=webhooks`,
|
href: `/event-types/${eventType.id}?tabName=webhooks`,
|
||||||
|
|
Loading…
Reference in New Issue