Skip to content

Commit 25b8c61

Browse files
committed
wip
1 parent c45aac2 commit 25b8c61

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

packages/meteor-lib/src/triggers/actionFactory.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ function createAdLibAction(
153153
return {
154154
action: PlayoutActions.adlib,
155155
preview: async (ctx, computation) => {
156-
console.log('vv', ctx)
157156
const innerCtx = await createRundownPlaylistContext(computation, triggersContext, ctx, filterChain)
158157

159158
if (innerCtx) {

packages/webui/src/client/ui/Settings/components/triggeredActions/TriggeredActionEntry.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,12 @@ export const TriggeredActionEntry: React.FC<IProps> = React.memo(function Trigge
199199

200200
const actionCtx = ctx as PlainActionContext
201201

202-
console.log('aa,', computation, ctx, executableActions)
203-
204202
return flatten(
205203
await Promise.all(
206-
executableActions.map(async (action): Promise<IWrappedAdLib[]> => {
207-
console.log('check', action, isPreviewableAction(action))
208-
return isPreviewableAction(action) ? action.preview(actionCtx, triggerComputation) : []
209-
})
204+
executableActions.map(
205+
async (action): Promise<IWrappedAdLib[]> =>
206+
isPreviewableAction(action) ? action.preview(actionCtx, triggerComputation) : []
207+
)
210208
)
211209
)
212210
} catch (e) {

0 commit comments

Comments
 (0)