HH-555: remove advanced assignment commercial gate (#138)

* fix(HH-555): remove advanced assignment paywall

* fix(HH-555): gate assignment entries with assignment v2

---------

Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
Rogee
2026-08-23 23:19:51 +08:00
committed by GitHub
co-authored by rogee
parent 60a6ac4785
commit cb0b554e94
10 changed files with 223 additions and 171 deletions
@@ -54,10 +54,10 @@ const isFeatureEnabledonAccount = useMapGetter(
'accounts/isFeatureEnabledonAccount'
);
const hasAdvancedAssignment = computed(() => {
const hasAssignmentV2 = computed(() => {
return isFeatureEnabledonAccount.value(
accountId.value,
FEATURE_FLAGS.ADVANCED_ASSIGNMENT
FEATURE_FLAGS.ASSIGNMENT_V2
);
});
@@ -690,7 +690,7 @@ const menuItems = computed(() => {
],
to: accountScopedRoute('settings_teams_list'),
},
...(hasAdvancedAssignment.value
...(hasAssignmentV2.value
? [
{
name: 'Settings Agent Assignment',