diff --git a/coral/src/app/features/topics/acl-request/fields/EnvironmentField.tsx b/coral/src/app/features/topics/acl-request/fields/EnvironmentField.tsx index 023bb8b93b..45a008a0d8 100644 --- a/coral/src/app/features/topics/acl-request/fields/EnvironmentField.tsx +++ b/coral/src/app/features/topics/acl-request/fields/EnvironmentField.tsx @@ -5,13 +5,23 @@ import { ExtendedEnvironment } from "src/app/features/topics/acl-request/queries interface EnvironmentFieldProps { environments: ExtendedEnvironment[]; selectedTopic?: string; + prefixed?: boolean; } const getOptions = ( environments: ExtendedEnvironment[], + prefixed: boolean, topicName?: string ) => { return environments.map((env) => { + if (prefixed) { + return ( + + ); + } + if (env.topicNames.length === 0) { return (