mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-24 01:55:03 +00:00
++tweak
This commit is contained in:
parent
807874874c
commit
9fae3c07e7
2 changed files with 16 additions and 12 deletions
|
@ -33,6 +33,10 @@ export const LogsChannelUpdateEvt = logsEvt({
|
|||
const diff = getScalarDifference(meta.args.oldChannel, meta.args.newChannel);
|
||||
const differenceString = differenceToString(diff);
|
||||
|
||||
if (differenceString.trim() === "") {
|
||||
return;
|
||||
}
|
||||
|
||||
logChannelUpdate(meta.pluginData, {
|
||||
oldChannel: meta.args.oldChannel,
|
||||
newChannel: meta.args.newChannel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue