Skip to content

Commit 6deba72

Browse files
committed
update copy
1 parent d8070f5 commit 6deba72

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

web/src/app/admin/connector/[ccPairId]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ function Main({ ccPairId }: { ccPairId: number }) {
217217
{ccPair.access_type === "public"
218218
? "Public connectors are not editable by curators."
219219
: ccPair.access_type === "sync"
220-
? "Sync connectors are not editable by curators."
220+
? "Sync connectors are not editable by curators unless the curator is also the owner."
221221
: "This connector belongs to groups where you don't have curator permissions, so it's not editable."}
222222
</div>
223223
)}

web/src/app/admin/connectors/[connector]/AddConnectorPage.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ export async function submitConnector<T>(
6060
if (!connector.connector_specific_config) {
6161
connector.connector_specific_config = {} as T;
6262
}
63-
console.log(connector);
6463

6564
try {
6665
if (fakeCredential) {
@@ -112,7 +111,6 @@ export default function AddConnector({
112111
connector: ConfigurableSources;
113112
}) {
114113
const router = useRouter();
115-
console.log(connector);
116114

117115
// State for managing credentials and files
118116
const [currentCredential, setCurrentCredential] =
@@ -294,7 +292,6 @@ export default function AddConnector({
294292
}
295293
return;
296294
}
297-
console.log(connector);
298295

299296
const { message, isSuccess, response } = await submitConnector<any>(
300297
{

web/src/components/IsPublicGroupSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const IsPublicGroupSelector = <T extends IsPublicGroupSelectorFormType>({
3333
const { isAdmin, user, isLoadingUser, isCurator } = useUser();
3434
const isPaidEnterpriseFeaturesEnabled = usePaidEnterpriseFeaturesEnabled();
3535
const [shouldHideContent, setShouldHideContent] = useState(false);
36-
console.log(formikProps.values);
36+
3737
useEffect(() => {
3838
if (user && userGroups && isPaidEnterpriseFeaturesEnabled) {
3939
const isUserAdmin = user.role === UserRole.ADMIN;

0 commit comments

Comments
 (0)