aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-10-31 16:38:48 -0400
committerGitHub <noreply@github.com>2020-10-31 16:38:48 -0400
commitf78e243853418abe2c741bd667bed75b7bd90b4c (patch)
tree3923833eec53e1a1b7ec42a907f297b401859a15 /ext/bg/js/settings
parent164c7b4375ee5d4a212a0cd89045e90aa8513ec6 (diff)
Update counts when an input entry is removed (#977)
Diffstat (limited to 'ext/bg/js/settings')
-rw-r--r--ext/bg/js/settings/scan-inputs-controller.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/bg/js/settings/scan-inputs-controller.js b/ext/bg/js/settings/scan-inputs-controller.js
index 4f736d53..fbafe570 100644
--- a/ext/bg/js/settings/scan-inputs-controller.js
+++ b/ext/bg/js/settings/scan-inputs-controller.js
@@ -53,6 +53,7 @@ class ScanInputsController {
for (let i = index, ii = this._entries.length; i < ii; ++i) {
this._entries[i].index = i;
}
+ this._updateCounts();
this._modifyProfileSettings([{
action: 'splice',
path: 'scanning.inputs',