@yuuvis/app-drive 3.5.0 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2102,7 +2102,10 @@ class EditAction extends AbstractContextAction {
2102
2102
  supports = {};
2103
2103
  isExecutable(selection) {
2104
2104
  const isObjectState = this.router.url.includes('object');
2105
- return of(selection.length > 0 && selection[0] && selection[0].sots.length > 1 && !isObjectState);
2105
+ return of(selection.length > 0 &&
2106
+ (selection[0] && (!selection[0].isFolder ||
2107
+ (selection[0].isFolder && selection[0].sots && selection[0].sots.length > 1))) &&
2108
+ !isObjectState);
2106
2109
  }
2107
2110
  #navigateTo(id, isFolder = false) {
2108
2111
  this.drive.setBusy(true);