fix not updated number of nextmatch rows on push type "delete"

This commit is contained in:
Ralf Becker 2020-08-05 18:26:40 +02:00
parent 783358f264
commit 0c1b92f029
3 changed files with 3 additions and 3 deletions

View File

@ -235,7 +235,7 @@ var AppJS = (function(){ "use strict"; return Class.extend(
// only handle delete by default, for simple case of uid === "$app::$id" // only handle delete by default, for simple case of uid === "$app::$id"
if (pushData.type === 'delete') if (pushData.type === 'delete')
{ {
egw.dataStoreUID(this.uid(pushData), null); egw.refresh('', pushData.app, pushData.id, 'delete');
} }
}, },

View File

@ -165,7 +165,7 @@ var EgwApp = /** @class */ (function () {
return; return;
// only handle delete by default, for simple case of uid === "$app::$id" // only handle delete by default, for simple case of uid === "$app::$id"
if (pushData.type === 'delete') { if (pushData.type === 'delete') {
egw.dataStoreUID(this.uid(pushData), null); egw.refresh('', pushData.app, pushData.id, 'delete');
} }
}; };
/** /**

View File

@ -265,7 +265,7 @@ export abstract class EgwApp
// only handle delete by default, for simple case of uid === "$app::$id" // only handle delete by default, for simple case of uid === "$app::$id"
if (pushData.type === 'delete') if (pushData.type === 'delete')
{ {
egw.dataStoreUID(this.uid(pushData), null); egw.refresh('', pushData.app, pushData.id, 'delete');
} }
} }