mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-11 02:43:50 +02:00
Fix gameLog notify
This commit is contained in:
@@ -4458,6 +4458,7 @@ import gameLogService from './service/gamelog.js'
|
||||
|
||||
$app.data.gameLogTable = {
|
||||
data: [],
|
||||
lastRunLength: 0,
|
||||
filters: [
|
||||
{
|
||||
prop: 'type',
|
||||
@@ -4502,9 +4503,10 @@ import gameLogService from './service/gamelog.js'
|
||||
await this.updateGameLog();
|
||||
this.sweepGameLog();
|
||||
|
||||
if (this.gameLogTable.data.length > 0) {
|
||||
if (this.gameLogTable.data.length > this.gameLogTable.lastRunLength) {
|
||||
this.notifyMenu('gameLog');
|
||||
}
|
||||
this.gameLogTable.lastRunLength = this.gameLogTable.data.length;
|
||||
|
||||
this.updateSharedFeed();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user