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:
committed by
emcminn@mozilla.com
parent
9ea62cb6aa
commit
c75f64e314
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user