diff --git a/src/main/webapp/app/module/primary/landscape/Landscape.component.ts b/src/main/webapp/app/module/primary/landscape/Landscape.component.ts index 99b66b53bc6..99a199f4584 100644 --- a/src/main/webapp/app/module/primary/landscape/Landscape.component.ts +++ b/src/main/webapp/app/module/primary/landscape/Landscape.component.ts @@ -367,6 +367,10 @@ export default defineComponent({ operationInProgress.value = false; }; + const isApplied = (moduleId: string): boolean => { + return landscapeValue().isApplied(new ModuleSlug(moduleId)); + }; + return { levels, isFeature, @@ -397,6 +401,7 @@ export default defineComponent({ applyNewModules, operationStarted, operationEnded, + isApplied, }; }, }); diff --git a/src/main/webapp/app/module/primary/landscape/Landscape.html b/src/main/webapp/app/module/primary/landscape/Landscape.html index 3e67d0ac8c9..4ff93b278c2 100644 --- a/src/main/webapp/app/module/primary/landscape/Landscape.html +++ b/src/main/webapp/app/module/primary/landscape/Landscape.html @@ -33,7 +33,12 @@ @propertyDeleted="deleteProperty" /> - +