Update BetterFriendList.plugin.js
This commit is contained in:
parent
86b17bf436
commit
c5aed03123
|
@ -2,7 +2,7 @@
|
||||||
* @name BetterFriendList
|
* @name BetterFriendList
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 1.5.4
|
* @version 1.5.5
|
||||||
* @description Adds extra Controls to the Friends Page, for example sort by Name/Status, Search and All/Request/Blocked Amount
|
* @description Adds extra Controls to the Friends Page, for example sort by Name/Status, Search and All/Request/Blocked Amount
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -219,7 +219,7 @@ module.exports = (_ => {
|
||||||
}
|
}
|
||||||
|
|
||||||
processTabBar (e) {
|
processTabBar (e) {
|
||||||
if (e.instance.props.children && e.instance.props.children.some(c => c && c.props.id == BDFDB.DiscordConstants.FriendsSections.ADD_FRIEND)) {
|
if (e.instance.props.children && e.instance.props.children.some(c => c && c.props && c.props.id == BDFDB.DiscordConstants.FriendsSections.ADD_FRIEND)) {
|
||||||
currentSection = e.instance.props.selectedItem;
|
currentSection = e.instance.props.selectedItem;
|
||||||
isFavoritesSelected = currentSection == favorizedFriendsSection;
|
isFavoritesSelected = currentSection == favorizedFriendsSection;
|
||||||
isHiddenSelected = currentSection == hiddenFriendsSection;
|
isHiddenSelected = currentSection == hiddenFriendsSection;
|
||||||
|
|
Loading…
Reference in New Issue