Add branding hooks for plan usage
This commit is contained in:
@@ -269,7 +269,13 @@ onMounted(async () => {
|
||||
<div>{{ $t('users.users.count', { count: users.length }) }}</div>
|
||||
</Section>
|
||||
|
||||
<Section :title="$t('users.groups.title')">
|
||||
<Section :title="$t('users.groups.title')" :disabled="!features.userGroups">
|
||||
<template #overlay>
|
||||
<div style="display: flex; justify-content: center; align-items: center; height: 100%;">
|
||||
<Button @click="subscriptionRequiredDialog.open()">Subscription Required</Button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template #header-buttons>
|
||||
<Button icon="fa-solid fa-plus" @click="onEditOrAddGroup()">{{ $t('users.groups.newGroupAction') }}</Button>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user