Update FriendNotifications.plugin.js

This commit is contained in:
Mirco Wittrien 2020-07-06 22:32:02 +02:00
parent 9a1c2ca186
commit c80c5ab614
1 changed files with 2 additions and 2 deletions

View File

@ -587,7 +587,7 @@ var FriendNotifications = (_ => {
if (timeLog.length > 200) timeLog.shift(); if (timeLog.length > 200) timeLog.shift();
timeLog.push({ timeLog.unshift({
string: toaststring, string: toaststring,
avatar, avatar,
name, name,
@ -639,7 +639,7 @@ var FriendNotifications = (_ => {
subheader: "", subheader: "",
className: `${this.name}-Log-modal`, className: `${this.name}-Log-modal`,
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.PaginatedList, { children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.PaginatedList, {
items: [].concat(timeLog).reverse(), items: timeLog,
amount: 100, amount: 100,
copyToBottom: true, copyToBottom: true,
renderItem: (log, i) => { renderItem: (log, i) => {