Bug 1963213 - Allow messaging on only one profile in a multiprofile selectable group r=pdahiya,jhirsch,omc-reviewers,profiles-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D247459
This commit is contained in:
Emily McMinn
2025-05-20 18:35:13 +00:00
committed by emcminn@mozilla.com
parent 9ea62cb6aa
commit c75f64e314
11 changed files with 295 additions and 10 deletions

View File

@@ -1200,6 +1200,13 @@ const TargetingGetters = {
return QueryCache.getters.profileGroupId.get();
},
get currentProfileId() {
if (!lazy.SelectableProfileService.currentProfile) {
return "";
}
return lazy.SelectableProfileService.currentProfile.id.toString();
},
get buildId() {
return parseInt(AppConstants.MOZ_BUILDID, 10);
},