@gallop.software/studio 0.1.106 → 0.1.107

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.
@@ -2348,7 +2348,7 @@ function StudioToolbar() {
2348
2348
  }
2349
2349
  }, [setSearchQuery]);
2350
2350
  const hasSelection = selectedItems.size > 0;
2351
- const hasCloudOnlySelection = hasSelection && Array.from(selectedItems).some((path) => {
2351
+ const hasCloudSelection = hasSelection && Array.from(selectedItems).some((path) => {
2352
2352
  const item = fileItems.find((f) => f.path === path);
2353
2353
  return item && item.cdnPushed;
2354
2354
  });
@@ -2555,8 +2555,7 @@ function StudioToolbar() {
2555
2555
  {
2556
2556
  css: styles5.btn,
2557
2557
  onClick: handleMoveClick,
2558
- disabled: !hasSelection || hasCloudOnlySelection,
2559
- title: hasCloudOnlySelection ? "Cannot move files that are in the cloud" : void 0,
2558
+ disabled: !hasSelection,
2560
2559
  children: [
2561
2560
  /* @__PURE__ */ jsx5(MoveIcon, {}),
2562
2561
  "Move"
@@ -2568,8 +2567,8 @@ function StudioToolbar() {
2568
2567
  {
2569
2568
  css: styles5.btn,
2570
2569
  onClick: handleSyncClick,
2571
- disabled: !hasSelection || hasCloudOnlySelection,
2572
- title: hasCloudOnlySelection ? "Selected files are already in the cloud" : void 0,
2570
+ disabled: !hasSelection || hasCloudSelection,
2571
+ title: hasCloudSelection ? "Selected files are already in the cloud" : void 0,
2573
2572
  children: [
2574
2573
  /* @__PURE__ */ jsx5(CloudIcon, {}),
2575
2574
  "Push CDN"
@@ -5567,4 +5566,4 @@ export {
5567
5566
  StudioUI,
5568
5567
  StudioUI_default as default
5569
5568
  };
5570
- //# sourceMappingURL=StudioUI-WUWW66GV.mjs.map
5569
+ //# sourceMappingURL=StudioUI-4HMRUI6W.mjs.map