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