Skip to content

Commit

Permalink
Merge pull request #781 from invoiceninja/802-whitelabel
Browse files Browse the repository at this point in the history
Hide licence management for demo
  • Loading branch information
beganovich authored Jun 16, 2023
2 parents 6260c2f + d6411ab commit 2b858fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/settings/account-management/component/Plan.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/

import { date, isHosted, isSelfHosted } from '$app/common/helpers';
import { date, isDemo, isHosted, isSelfHosted } from '$app/common/helpers';
import { useCurrentAccount } from '$app/common/hooks/useCurrentAccount';
import { useCurrentCompanyDateFormats } from '$app/common/hooks/useCurrentCompanyDateFormats';
import { useCurrentUser } from '$app/common/hooks/useCurrentUser';
Expand Down Expand Up @@ -54,7 +54,7 @@ export function Plan() {
</Element>
)}

{isSelfHosted() && <License />}
{isSelfHosted() && !isDemo() && <License />}
</Card>
);
}

0 comments on commit 2b858fa

Please sign in to comment.