Filemanager: Push was not correctly updating file list when directory was added/deleted

This commit is contained in:
nathan
2023-06-05 11:56:06 -06:00
parent dd4a2de988
commit e7e9c6fa22
3 changed files with 4 additions and 3 deletions

View File

@ -20,7 +20,7 @@ import {et2_nextmatch_controller} from "../../api/js/etemplate/et2_extension_nex
import {egw} from "../../api/js/jsapi/egw_global";
import {et2_selectbox} from "../../api/js/etemplate/et2_widget_selectbox";
import {et2_textbox} from "../../api/js/etemplate/et2_widget_textbox";
import {ExposeMixin, MIME_REGEX} from "../../api/js/etemplate/Expose/ExposeMixin";
import {MIME_REGEX} from "../../api/js/etemplate/Expose/ExposeMixin";
/**
* UI for filemanager
@ -823,7 +823,7 @@ export class filemanagerAPP extends EgwApp
*/
_do_action_callback(_data)
{
if(_data.action == "delete" && this.egw.pushAvailable())
if(this.egw.pushAvailable())
{
// No need to refresh, push will handle it
this.egw.message(_data.msg)