Skip to content

Commit

Permalink
update copy
Browse files Browse the repository at this point in the history
  • Loading branch information
hagen-danswer committed Nov 13, 2024
1 parent d8070f5 commit 6deba72
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web/src/app/admin/connector/[ccPairId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function Main({ ccPairId }: { ccPairId: number }) {
{ccPair.access_type === "public"
? "Public connectors are not editable by curators."
: ccPair.access_type === "sync"
? "Sync connectors are not editable by curators."
? "Sync connectors are not editable by curators unless the curator is also the owner."
: "This connector belongs to groups where you don't have curator permissions, so it's not editable."}
</div>
)}
Expand Down
3 changes: 0 additions & 3 deletions web/src/app/admin/connectors/[connector]/AddConnectorPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export async function submitConnector<T>(
if (!connector.connector_specific_config) {
connector.connector_specific_config = {} as T;
}
console.log(connector);

try {
if (fakeCredential) {
Expand Down Expand Up @@ -112,7 +111,6 @@ export default function AddConnector({
connector: ConfigurableSources;
}) {
const router = useRouter();
console.log(connector);

// State for managing credentials and files
const [currentCredential, setCurrentCredential] =
Expand Down Expand Up @@ -294,7 +292,6 @@ export default function AddConnector({
}
return;
}
console.log(connector);

const { message, isSuccess, response } = await submitConnector<any>(
{
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/IsPublicGroupSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const IsPublicGroupSelector = <T extends IsPublicGroupSelectorFormType>({
const { isAdmin, user, isLoadingUser, isCurator } = useUser();
const isPaidEnterpriseFeaturesEnabled = usePaidEnterpriseFeaturesEnabled();
const [shouldHideContent, setShouldHideContent] = useState(false);
console.log(formikProps.values);

useEffect(() => {
if (user && userGroups && isPaidEnterpriseFeaturesEnabled) {
const isUserAdmin = user.role === UserRole.ADMIN;
Expand Down

0 comments on commit 6deba72

Please sign in to comment.