diff --git a/apps/appstore/src/components/AppstoreSidebar/AppDetailsTab.vue b/apps/appstore/src/components/AppstoreSidebar/AppDetailsTab.vue index 3d3ccc29aac..19a1b7ed8cd 100644 --- a/apps/appstore/src/components/AppstoreSidebar/AppDetailsTab.vue +++ b/apps/appstore/src/components/AppstoreSidebar/AppDetailsTab.vue @@ -18,6 +18,7 @@ import BadgeAppLevel from '../BadgeAppLevel.vue' import BadgeAppScore from '../BadgeAppScore.vue' import { useLimitedGroups } from '../../composables/useLimitedGroups.ts' import { useAppsStore } from '../../store/apps.ts' +import { canLimitToGroups } from '../../utils/appStatus.ts' const { app } = defineProps<{ app: IAppstoreApp | IAppstoreExApp }>() @@ -98,6 +99,10 @@ const appCategories = computed(() => { .join(', ') }) +const cannotLimitToGroups = computed(() => { + return app.active && !canLimitToGroups(app) +}) + /** * Get the author name from the XML node * @@ -138,6 +143,10 @@ function authorName(xmlNode): string { + + {{ t('appstore', 'This app cannot be limited to groups because it provides functionality that is executed before group membership is determined.') }} + +

{{ t('appstore', 'Limited to groups') }}