feat: scheduler (#1108)

This commit is contained in:
Jonas Plum
2024-11-04 22:30:20 +01:00
committed by GitHub
parent 42797509f7
commit a2bdeecb0d
8 changed files with 208 additions and 16 deletions

View File

@@ -32,7 +32,9 @@ const subtitle = (reaction: Reaction) =>
triggerNiceName(reaction) + ' to ' + reactionNiceName(reaction)
const triggerNiceName = (reaction: Reaction) => {
if (reaction.trigger === 'hook') {
if (reaction.trigger === 'schedule') {
return 'Schedule'
} else if (reaction.trigger === 'hook') {
return 'Collection Hook'
} else if (reaction.trigger === 'webhook') {
return 'HTTP / Webhook'