summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/settings/profile-controller.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/bg/js/settings/profile-controller.js b/ext/bg/js/settings/profile-controller.js
index 149238b1..286ce006 100644
--- a/ext/bg/js/settings/profile-controller.js
+++ b/ext/bg/js/settings/profile-controller.js
@@ -166,7 +166,9 @@ class ProfileController {
// Update state
const index = this._profiles.length;
this._profiles.push(newProfile);
- this._addProfileEntry(index);
+ if (this._profileEntriesSupported) {
+ this._addProfileEntry(index);
+ }
this._updateProfileSelectOptions();
// Modify settings