diff --git a/frontend/src/views/admin/ChannelsView.vue b/frontend/src/views/admin/ChannelsView.vue index 639ace4a..2e45ba42 100644 --- a/frontend/src/views/admin/ChannelsView.vue +++ b/frontend/src/views/admin/ChannelsView.vue @@ -251,6 +251,24 @@ + + +
+
+
+ +

+ {{ t('admin.channels.form.applyPricingToAccountStatsDesc') }} +

+
+ +
+
@@ -394,49 +412,30 @@ /> - - -
- -
-
- -

- {{ t('admin.channels.form.applyPricingToAccountStatsDesc', 'When enabled, account statistics cost will use channel model pricing. Account rate multiplier still applies.') }} -

-
- -
- - -
+ +

- {{ t('admin.channels.form.accountStatsPricingRules', 'Custom Account Stats Pricing Rules') }} + {{ t('admin.channels.form.accountStatsPricingRules') }}

+

- {{ t('admin.channels.form.noRulesConfigured', 'No custom rules configured. Channel model pricing above will be used.') }} + {{ t('admin.channels.form.noRulesConfigured') }}

-
-
-
- +
-

- {{ t('admin.channels.form.noGroupsInChannel', 'No groups selected in platform tabs above') }} +

+ {{ t('admin.channels.form.noGroupsInChannel') }}

-
- +
-
- -
-
- {{ t('admin.channels.form.noPricingRules', 'No pricing rules yet. Click "Add" to create one.') }} +
+ {{ t('admin.channels.form.noPricingRules') }}
@@ -889,18 +863,6 @@ function getGroupNameById(groupId: number): string { return group ? group.name : `#${groupId}` } -/** Collect all group_ids from enabled platform sections */ -const allFormGroupIds = computed(() => { - const ids = new Set() - for (const section of form.platforms) { - if (!section.enabled) continue - for (const gid of section.group_ids) { - ids.add(gid) - } - } - return [...ids] -}) - function parseAccountIdsInput(value: string): number[] { return value .split(',')