aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/context-main.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/context-main.js')
-rw-r--r--ext/bg/js/context-main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bg/js/context-main.js b/ext/bg/js/context-main.js
index e7cff04c..93eebe72 100644
--- a/ext/bg/js/context-main.js
+++ b/ext/bg/js/context-main.js
@@ -42,6 +42,8 @@ class DisplayController {
this._setupOptions(primaryProfile);
}
+ document.querySelector('.action-select-profile').hidden = (profiles.length <= 1);
+
this._updateProfileSelect(profiles, profileCurrent);
setTimeout(() => {