@gallop.software/studio 0.1.74 → 0.1.75
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.
- package/dist/{StudioUI-4ODY2HZQ.js → StudioUI-2QIPSUYC.js} +4 -4
- package/dist/{StudioUI-4ODY2HZQ.js.map → StudioUI-2QIPSUYC.js.map} +1 -1
- package/dist/{StudioUI-N5Q5PMSR.mjs → StudioUI-SACT72G4.mjs} +4 -4
- package/dist/StudioUI-SACT72G4.mjs.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/StudioUI-N5Q5PMSR.mjs.map +0 -1
|
@@ -1977,7 +1977,7 @@ function GridItem({ item, isSelected, onClick, onOpen, onGenerateThumbnail }) {
|
|
|
1977
1977
|
const isImagesFolder = isFolder && (item.name === "images" || item.path.includes("/images/"));
|
|
1978
1978
|
const handleCopyPath = (e) => {
|
|
1979
1979
|
e.stopPropagation();
|
|
1980
|
-
const pathToCopy = "/" + item.path;
|
|
1980
|
+
const pathToCopy = "/" + item.path.replace(/^public\//, "");
|
|
1981
1981
|
navigator.clipboard.writeText(pathToCopy);
|
|
1982
1982
|
setShowCopied(true);
|
|
1983
1983
|
setTimeout(() => setShowCopied(false), 1500);
|
|
@@ -2527,7 +2527,7 @@ function ListRow({ item, isSelected, onClick, onOpen, onGenerateThumbnail }) {
|
|
|
2527
2527
|
const isImagesFolder = isFolder && (item.name === "images" || item.path.includes("/images/"));
|
|
2528
2528
|
const handleCopyPath = (e) => {
|
|
2529
2529
|
e.stopPropagation();
|
|
2530
|
-
const pathToCopy = "/" + item.path;
|
|
2530
|
+
const pathToCopy = "/" + item.path.replace(/^public\//, "");
|
|
2531
2531
|
navigator.clipboard.writeText(pathToCopy);
|
|
2532
2532
|
setShowCopied(true);
|
|
2533
2533
|
setTimeout(() => setShowCopied(false), 1500);
|
|
@@ -2902,7 +2902,7 @@ function StudioDetailView() {
|
|
|
2902
2902
|
setFocusedItem(null);
|
|
2903
2903
|
};
|
|
2904
2904
|
const handleCopyPath = () => {
|
|
2905
|
-
const pathToCopy = "/" + focusedItem.path;
|
|
2905
|
+
const pathToCopy = "/" + focusedItem.path.replace(/^public\//, "");
|
|
2906
2906
|
navigator.clipboard.writeText(pathToCopy);
|
|
2907
2907
|
setShowCopied(true);
|
|
2908
2908
|
setTimeout(() => setShowCopied(false), 1500);
|
|
@@ -3842,4 +3842,4 @@ var StudioUI_default = StudioUI;
|
|
|
3842
3842
|
|
|
3843
3843
|
|
|
3844
3844
|
exports.StudioUI = StudioUI; exports.default = StudioUI_default;
|
|
3845
|
-
//# sourceMappingURL=StudioUI-
|
|
3845
|
+
//# sourceMappingURL=StudioUI-2QIPSUYC.js.map
|