Skip to content

Commit 98978a9

Browse files
committed
Add a message about test events still working
1 parent d7dcb1b commit 98978a9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/webapp/app/routes/resources/environment.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,9 @@ export function EventRuleSwitch() {
261261
const enabledName = isEnabled ? "enabled" : "disabled";
262262

263263
let hoverMessage = eventRule
264-
? `This workflow is ${enabledName} in the ${prettyEnvironmentName} environment.`
264+
? `This workflow is ${enabledName} in the ${prettyEnvironmentName} environment.${
265+
isEnabled ? " " : " Test events will still trigger this workflow."
266+
}`
265267
: `Connect this workflow to the ${prettyEnvironmentName} environment to enable it.`;
266268

267269
return (

0 commit comments

Comments
 (0)