Plugins: adding possibility to install enterprise plugins if you have a valid license. (#36653)
This commit is contained in:
@@ -80,7 +80,7 @@ export const InstallControls = ({ localPlugin, remotePlugin }: Props) => {
|
||||
const isEnterprise = remotePlugin?.status === 'enterprise';
|
||||
const hasPermission = isGrafanaAdmin();
|
||||
|
||||
if (isEnterprise) {
|
||||
if (isEnterprise && !config.licenseInfo?.hasValidLicense) {
|
||||
return (
|
||||
<div className={styles.message}>
|
||||
Marketplace doesn't support installing Enterprise plugins yet. Stay tuned!
|
||||
|
||||
Reference in New Issue
Block a user