@gallop.software/studio 0.1.97 → 0.1.99

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.
@@ -2568,7 +2568,8 @@ function StudioToolbar() {
2568
2568
  {
2569
2569
  css: styles5.btn,
2570
2570
  onClick: handleSyncClick,
2571
- disabled: !hasSelection,
2571
+ disabled: !hasSelection || hasCloudOnlySelection,
2572
+ title: hasCloudOnlySelection ? "Selected files are already in the cloud" : void 0,
2572
2573
  children: [
2573
2574
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CloudIcon, {}),
2574
2575
  "Push CDN"
@@ -4891,7 +4892,8 @@ function SettingsPanel({ onClose }) {
4891
4892
  const response = await fetch("/api/studio/cdns", {
4892
4893
  method: "POST",
4893
4894
  headers: { "Content-Type": "application/json" },
4894
- body: JSON.stringify({ cdns: cdnUrls.filter((url) => url.trim()) })
4895
+ // Preserve empty strings as placeholders to maintain indices
4896
+ body: JSON.stringify({ cdns: cdnUrls })
4895
4897
  });
4896
4898
  if (response.ok) {
4897
4899
  setHasChanges(false);
@@ -5452,4 +5454,4 @@ var StudioUI_default = StudioUI;
5452
5454
 
5453
5455
 
5454
5456
  exports.StudioUI = StudioUI; exports.default = StudioUI_default;
5455
- //# sourceMappingURL=StudioUI-UWGFBIKI.js.map
5457
+ //# sourceMappingURL=StudioUI-6YTCVD5Z.js.map