Skip to content

Commit 7a3b026

Browse files
authored
Disable user invite option in UI (#7)
* Hide user invitation option in admin UI * Bump version tags for testing * Bump Helm chart version * Bump stackhpc image tag
1 parent 575256f commit 7a3b026

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

deployment/helm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ home: https://www.danswer.ai/
55
sources:
66
- "https://github.com/danswer-ai/danswer"
77
type: application
8-
version: 0.2.0
8+
version: 0.2.1
99
appVersion: v0.5.10
1010
dependencies:
1111
- name: postgresql

deployment/helm/values.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ appVersionOverride: # e.g "v0.3.93"
1111
# tags to refer to downstream StackHPC-modified images.
1212
# The full image ref will be:
1313
# {{ image-name }}:{{ image-tag or appVersion }}-{{ tagSuffix }}
14-
# tagSuffix: stackhpc.1
15-
tagSuffix: stackhpc.2
14+
tagSuffix: stackhpc.3
1615

1716
zenithClient:
1817
iconUrl: https://raw.githubusercontent.com/danswer-ai/danswer/1fabd9372d66cd54238847197c33f091a724803b/Danswer.png

web/src/app/admin/users/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const UsersTables = ({
104104

105105
return (
106106
<>
107-
<HidableSection sectionTitle="Invited Users">
107+
{/* <HidableSection sectionTitle="Invited Users">
108108
{invited.length > 0 ? (
109109
finalInvited.length > 0 ? (
110110
<InvitedUserTable
@@ -124,7 +124,7 @@ const UsersTables = ({
124124
) : (
125125
<ValidDomainsDisplay validDomains={validDomains} />
126126
)}
127-
</HidableSection>
127+
</HidableSection> */}
128128
<SignedUpUserTable
129129
users={accepted}
130130
setPopup={setPopup}
@@ -148,7 +148,7 @@ const SearchableTables = () => {
148148

149149
<div className="flex flex-col gap-y-4">
150150
<div className="flex gap-x-4">
151-
<AddUserButton setPopup={setPopup} />
151+
{/* <AddUserButton setPopup={setPopup} /> */}
152152
<div className="flex-grow">
153153
<SearchBar
154154
query={query}

0 commit comments

Comments
 (0)