From cb76848df980b4245e9f5c0dee4eec4280ed645d Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Wed, 28 Oct 2020 20:47:20 -0400 Subject: [PATCH] Fix profile creation not working on settings v1 (#968) --- ext/bg/js/settings/profile-controller.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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