@@ -47,6 +47,7 @@ import {
47
47
TableRow ,
48
48
} from "~/components/primitives/Table" ;
49
49
import { TextLink } from "~/components/primitives/TextLink" ;
50
+ import { useFeatures } from "~/hooks/useFeatures" ;
50
51
import { useOrganization } from "~/hooks/useOrganizations" ;
51
52
import { useHasAdminAccess } from "~/hooks/useUser" ;
52
53
import { redirectWithErrorMessage , redirectWithSuccessMessage } from "~/models/message.server" ;
@@ -132,6 +133,7 @@ export default function Page() {
132
133
const { regions, isPaying } = useTypedLoaderData < typeof loader > ( ) ;
133
134
const organization = useOrganization ( ) ;
134
135
const isAdmin = useHasAdminAccess ( ) ;
136
+ const { isManagedCloud } = useFeatures ( ) ;
135
137
136
138
return (
137
139
< PageContainer >
@@ -295,14 +297,31 @@ export default function Page() {
295
297
</ TableRow >
296
298
</ TableBody >
297
299
</ Table >
298
- < InfoPanel
299
- icon = { InformationCircleIcon }
300
- variant = "minimal"
301
- panelClassName = "max-w-full"
302
- >
303
- Runs execute in your default region, but operational and log data remains in
304
- us-east-1.
305
- </ InfoPanel >
300
+ { isManagedCloud && (
301
+ < InfoPanel
302
+ icon = { InformationCircleIcon }
303
+ iconClassName = "size-4"
304
+ variant = "minimal"
305
+ panelClassName = "max-w-full gap-1"
306
+ >
307
+ < Paragraph variant = "extra-small" className = "flex items-baseline gap-x-0.5" >
308
+ Trigger.dev is fully GDPR compliant. Learn more in our{ " " }
309
+ < TextLink to = "https://security.trigger.dev" > security portal</ TextLink > or{ " " }
310
+ < Feedback
311
+ button = {
312
+ < Paragraph
313
+ variant = "extra-small"
314
+ className = "cursor-pointer text-indigo-500 transition hover:text-indigo-400"
315
+ >
316
+ get in touch
317
+ </ Paragraph >
318
+ }
319
+ defaultValue = "help"
320
+ />
321
+ .
322
+ </ Paragraph >
323
+ </ InfoPanel >
324
+ ) }
306
325
</ div >
307
326
</ >
308
327
) }
0 commit comments