Change menu label if in a community

This commit is contained in:
Travis Ralston 2020-08-26 10:33:05 -06:00
parent b294ec6427
commit fd71bca7c0
3 changed files with 12 additions and 1 deletions

View file

@ -285,6 +285,13 @@ class TagOrderStore extends Store {
getSelectedTags() {
return this._state.selectedTags;
}
getSelectedPrototypeTag() {
if (SettingsStore.getValue("feature_communities_v2_prototypes")) {
return this.getSelectedTags()[0];
}
return null; // no selection as far as this function is concerned
}
}
if (global.singletonTagOrderStore === undefined) {