Commit 4b72aa33 authored by QTom's avatar QTom
Browse files

fix: add enableRpmLimit to hasAnyFieldEnabled check in BulkEditModal

Without this, submitting a bulk edit with only RPM changes would be
rejected as "no fields selected".
parent ff9683b0
...@@ -1253,7 +1253,8 @@ const handleSubmit = async () => { ...@@ -1253,7 +1253,8 @@ const handleSubmit = async () => {
enablePriority.value || enablePriority.value ||
enableRateMultiplier.value || enableRateMultiplier.value ||
enableStatus.value || enableStatus.value ||
enableGroups.value enableGroups.value ||
enableRpmLimit.value
if (!hasAnyFieldEnabled) { if (!hasAnyFieldEnabled) {
appStore.showError(t('admin.accounts.bulkEdit.noFieldsSelected')) appStore.showError(t('admin.accounts.bulkEdit.noFieldsSelected'))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment