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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user