File tree Expand file tree Collapse file tree
packages/ui/src/features/loops/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 type Icon ,
77 Lightning ,
88 Play ,
9- Stop ,
109 Timer ,
1110 Warning ,
1211 X ,
@@ -188,7 +187,6 @@ export function LoopRunRow({
188187 size = "1"
189188 onClick = { ( ) => setStopOpen ( true ) }
190189 >
191- < Stop size = { 12 } weight = "bold" />
192190 Stop run
193191 </ Button >
194192 ) : null }
Original file line number Diff line number Diff line change 33 CloudIcon ,
44 PlusIcon ,
55 RepeatIcon ,
6- StopIcon ,
76} from "@phosphor-icons/react" ;
87import type { LoopSchemas } from "@posthog/api-client/loops" ;
98import type { UserBasic } from "@posthog/shared/domain-types" ;
@@ -278,19 +277,18 @@ function BuilderSessionRow({
278277 </ Flex >
279278 < Button
280279 variant = "soft"
280+ color = "red"
281281 size = "1"
282- onClick = { ( ) => onResume ?. ( session . taskId ) }
282+ onClick = { ( ) => setConfirmStop ( true ) }
283283 >
284- Resume
284+ Stop
285285 </ Button >
286286 < Button
287287 variant = "soft"
288- color = "red"
289288 size = "1"
290- onClick = { ( ) => setConfirmStop ( true ) }
289+ onClick = { ( ) => onResume ?. ( session . taskId ) }
291290 >
292- < StopIcon size = { 12 } weight = "bold" />
293- Stop
291+ Resume
294292 </ Button >
295293 { confirmStop ? (
296294 < StopCloudRunDialog
You can’t perform that action at this time.
0 commit comments