fix TypeError stalling filemanager (eg. no context menu)

This commit is contained in:
Ralf Becker 2022-01-27 20:46:06 +02:00
parent 09c210415e
commit ea8ef4d077

View File

@ -933,7 +933,7 @@ export class filemanagerAPP extends EgwApp
actions.push({
id:_action.id+'_current', caption: current_dir, path: current_dir,
enabled: dir && dir.data && dir.data.class && dir.data.class.indexOf('noEdit') === -1 ||
!dir && path_widget && !path_widget.options.readonly
!dir && path_widget && !path_widget.options?.readonly
});
// Target, if directory