mirror of
https://github.com/enso-org/enso.git
synced 2024-11-22 22:10:15 +03:00
Disable Invite button for solo/free. (#11089)
Currently shows up in solo mode, enough to just have the Upgrade button.
This commit is contained in:
parent
53e101566a
commit
6ca2c337d0
@ -53,7 +53,8 @@ export default function UserBar(props: UserBarProps) {
|
||||
|
||||
const shouldShowUpgradeButton =
|
||||
user.isOrganizationAdmin && user.plan !== Plan.enterprise && user.plan !== Plan.team
|
||||
const shouldShowPaywallButton = isFeatureUnderPaywall('inviteUser')
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
const shouldShowPaywallButton = (false as boolean) && isFeatureUnderPaywall('inviteUser')
|
||||
// FIXME[sb]: Re-enable when they are wanted again.
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
const shouldShowShareButton = (false as boolean) && onShareClick != null
|
||||
|
Loading…
Reference in New Issue
Block a user