mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 10:20:29 -06:00
Plugins: adding possibility to install enterprise plugins if you have a valid license. (#36653)
This commit is contained in:
parent
36cb396568
commit
d4e53a9be4
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user