stuff
This commit is contained in:
parent
d64eb0624e
commit
d191f5b545
|
@ -5770,10 +5770,7 @@ module.exports = (_ => {
|
|||
});
|
||||
return this.props.switchOnClick ? BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.Clickable, {
|
||||
className: BDFDB.disCN.guildsummaryclickableicon,
|
||||
onClick: _ => {
|
||||
LibraryModules.GuildUtils.selectGuild(guild.id);
|
||||
LibraryModules.ChannelUtils.selectChannel(guild.id, LibraryModules.LastChannelStore.getChannelId(guild.id));
|
||||
},
|
||||
onClick: _ => LibraryModules.HistoryUtils.transitionTo(BDFDB.DiscordConstants.Routes.CHANNEL(guild.id, LibraryModules.LastChannelStore.getChannelId(guild.id))),
|
||||
key: guild.id,
|
||||
tabIndex: -1,
|
||||
children: icon
|
||||
|
|
|
@ -22,7 +22,7 @@ module.exports = (_ => {
|
|||
},
|
||||
"changeLog": {
|
||||
"fixed": {
|
||||
"Switch to DM": "CLicking a notification switches the channel again"
|
||||
"Switch to DM": "Clicking a notification switches the channel again"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
@ -17,7 +17,7 @@ module.exports = (_ => {
|
|||
"info": {
|
||||
"name": "PersonalPins",
|
||||
"author": "DevilBro",
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.1",
|
||||
"description": "Allows you to locally pin Messages"
|
||||
},
|
||||
"changeLog": {
|
||||
|
@ -442,10 +442,7 @@ module.exports = (_ => {
|
|||
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Clickable, {
|
||||
tag: "span",
|
||||
className: BDFDB.disCN.messagespopoutchannelname,
|
||||
onClick: _ => {
|
||||
BDFDB.LibraryModules.GuildUtils.selectGuild(channel.guild_id);
|
||||
BDFDB.LibraryModules.ChannelUtils.selectChannel(channel.guild_id, channel.id);
|
||||
},
|
||||
onClick: _ => BDFDB.LibraryModules.HistoryUtils.transitionTo(BDFDB.DiscordConstants.Routes.CHANNEL(channel.guild_id, channel.id)),
|
||||
children: channelName ? ((channel.guild_id ? "#" : "@") + channelName) : "???"
|
||||
}),
|
||||
filter == "all" ? BDFDB.ReactUtils.createElement("span", {
|
||||
|
@ -470,10 +467,7 @@ module.exports = (_ => {
|
|||
children: [
|
||||
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Clickable, {
|
||||
className: BDFDB.disCN.messagespopoutjumpbutton,
|
||||
onClick: _ => {
|
||||
BDFDB.LibraryModules.GuildUtils.selectGuild(channel.guild_id);
|
||||
BDFDB.LibraryModules.ChannelUtils.selectChannel(channel.guild_id, channel.id, message.id);
|
||||
},
|
||||
onClick: _ => BDFDB.LibraryModules.HistoryUtils.transitionTo(BDFDB.DiscordConstants.Routes.CHANNEL(channel.guild_id, channel.id, message.id)),
|
||||
children: BDFDB.ReactUtils.createElement("div", {
|
||||
children: BDFDB.LanguageUtils.LanguageStrings.JUMP
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue