Skip to content

Commit

Permalink
ui: comment pending tab for now (no support)
Browse files Browse the repository at this point in the history
  • Loading branch information
horacioh committed Aug 16, 2024
1 parent db91423 commit 81a4023
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions frontend/apps/desktop/src/components/collaborators-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ function CollaboratorsList({id}: {id: UnpackedHypermediaId}) {
const [tab, setTab] = useState<'granted' | 'pending'>('granted')
let content = <GrantedCollabs capabilities={capabilities.data || []} />

if (tab == 'pending') {
content = <PendingCollabs capabilities={capabilities.data || []} />
}
// if (tab == 'pending') {
// content = <PendingCollabs capabilities={capabilities.data || []} />
// }

return (
<YStack gap="$2">
Expand All @@ -195,10 +195,11 @@ function CollaboratorsList({id}: {id: UnpackedHypermediaId}) {
size="$2"
options={[
{key: 'granted', label: 'Granted'},
{key: 'pending', label: 'Pending'},
// {key: 'pending', label: 'Pending'},
]}
value={tab}
onValue={setTab}
// onValue={setTab}
onValue={() => {}}
/>
</XStack>
{content}
Expand Down

0 comments on commit 81a4023

Please sign in to comment.