Skip to content

Commit

Permalink
Retrieve & Copy Org Id in Org settings (#18785)
Browse files Browse the repository at this point in the history
* Retrieve & Copy Org Id in Org settings

* tip text fix

Co-authored-by: George Tsiolis <[email protected]>

---------

Co-authored-by: George Tsiolis <[email protected]>
  • Loading branch information
Siddhant-K-code and gtsiolis authored Sep 25, 2023
1 parent 2389937 commit 7e0aaa9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions components/dashboard/src/teams/TeamSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import { OrgSettingsPage } from "./OrgSettingsPage";
import { useDefaultWorkspaceImageQuery } from "../data/workspaces/default-workspace-image-query";
import Modal, { ModalBody, ModalFooter, ModalHeader } from "../components/Modal";
import { InputField } from "../components/forms/InputField";
import { InputWithCopy } from "../components/InputWithCopy";
import { ReactComponent as Stack } from "../icons/Stack.svg";

export default function TeamSettingsPage() {
Expand Down Expand Up @@ -204,6 +205,12 @@ function OrgSettingsForm(props: { org?: OrganizationInfo }) {
// handleUpdateTeamSettings({ defaultWorkspaceImage });
}}
>
{props.org && (
<InputField label="Organization ID">
<InputWithCopy value={props.org.id} tip="Copy Organization ID" />
</InputField>
)}

<Heading2 className="pt-12">Collaboration & Sharing</Heading2>

{updateTeamSettings.isError && (
Expand Down

0 comments on commit 7e0aaa9

Please sign in to comment.