Skip to content

Commit

Permalink
Merge pull request #322 from TogetherCrew/feat/disable-hivemind-gdrive
Browse files Browse the repository at this point in the history
disable GDrive integration platform
  • Loading branch information
mehdi-torabiv authored Jul 2, 2024
2 parents 8422017 + ac01d95 commit d859ec3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -355,12 +355,11 @@ function HivemindSettings() {
activePlatform === index
? 'bg-secondary/80 text-white'
: ![
'Discord',
'GDrive',
'Github',
'Notion',
'MediaWiki',
].includes(platform)
'Discord',
'Github',
'Notion',
'MediaWiki',
].includes(platform)
? 'bg-white'
: 'bg-white text-black'
)}
Expand All @@ -369,12 +368,16 @@ function HivemindSettings() {
<div className='flex flex-col items-center space-x-2'>
<TcCommunityPlatformIcon platform={platform} />
<TcText text={platform} variant='body2' />
{
platform === "GDrive" && (
<TcText variant='caption' className='text-gray-300' text="Comming soon" />
)
}
</div>
}
disabled={
![
'Discord',
'GDrive',
'Github',
'Notion',
'MediaWiki',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,11 @@ function TcCommunityPlatforms() {
activeTab === index
? 'bg-secondary/80 text-white'
: ![
'Discord',
'GDrive',
'Github',
'Notion',
'MediaWiki',
].includes(platform)
'Discord',
'Github',
'Notion',
'MediaWiki',
].includes(platform)
? 'bg-white'
: 'bg-white text-black'
)}
Expand All @@ -165,12 +164,16 @@ function TcCommunityPlatforms() {
<div className='flex flex-col items-center space-x-2'>
<TcCommunityPlatformIcon platform={platform} />
<TcText text={platform} variant='body2' />
{
platform === "GDrive" && (
<TcText variant='caption' className='text-gray-300' text="Comming soon" />
)
}
</div>
}
disabled={
![
'Discord',
'GDrive',
'Github',
'Notion',
'MediaWiki',
Expand Down

0 comments on commit d859ec3

Please sign in to comment.