Skip to content

Commit

Permalink
Disable user invite option in UI (#7)
Browse files Browse the repository at this point in the history
* Hide user invitation option in admin UI

* Bump version tags for testing

* Bump Helm chart version

* Bump stackhpc image tag
  • Loading branch information
sd109 authored Sep 5, 2024
1 parent 575256f commit 7a3b026
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion deployment/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ home: https://www.danswer.ai/
sources:
- "https://github.com/danswer-ai/danswer"
type: application
version: 0.2.0
version: 0.2.1
appVersion: v0.5.10
dependencies:
- name: postgresql
Expand Down
3 changes: 1 addition & 2 deletions deployment/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ appVersionOverride: # e.g "v0.3.93"
# tags to refer to downstream StackHPC-modified images.
# The full image ref will be:
# {{ image-name }}:{{ image-tag or appVersion }}-{{ tagSuffix }}
# tagSuffix: stackhpc.1
tagSuffix: stackhpc.2
tagSuffix: stackhpc.3

zenithClient:
iconUrl: https://raw.githubusercontent.com/danswer-ai/danswer/1fabd9372d66cd54238847197c33f091a724803b/Danswer.png
Expand Down
6 changes: 3 additions & 3 deletions web/src/app/admin/users/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const UsersTables = ({

return (
<>
<HidableSection sectionTitle="Invited Users">
{/* <HidableSection sectionTitle="Invited Users">
{invited.length > 0 ? (
finalInvited.length > 0 ? (
<InvitedUserTable
Expand All @@ -124,7 +124,7 @@ const UsersTables = ({
) : (
<ValidDomainsDisplay validDomains={validDomains} />
)}
</HidableSection>
</HidableSection> */}
<SignedUpUserTable
users={accepted}
setPopup={setPopup}
Expand All @@ -148,7 +148,7 @@ const SearchableTables = () => {

<div className="flex flex-col gap-y-4">
<div className="flex gap-x-4">
<AddUserButton setPopup={setPopup} />
{/* <AddUserButton setPopup={setPopup} /> */}
<div className="flex-grow">
<SearchBar
query={query}
Expand Down

0 comments on commit 7a3b026

Please sign in to comment.