Update FriendNotifications.plugin.js
This commit is contained in:
parent
9a1c2ca186
commit
c80c5ab614
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue