Skip to content

Commit 0827f8d

Browse files
committed
Update extension gallery metadata
- list original author first - allow extensions to be marked as Scratch-compatible
1 parent 8eadf41 commit 0827f8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/containers/extension-library.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ const fetchLibrary = async () => {
5757
iconURL: `https://extensions.turbowarp.org/${extension.image || 'images/unknown.svg'}`,
5858
tags: ['tw'],
5959
credits: [
60-
...(extension.by || []),
61-
...(extension.original || [])
60+
...(extension.original || []),
61+
...(extension.by || [])
6262
].map(credit => {
6363
if (credit.link) {
6464
return (
@@ -79,7 +79,7 @@ const fetchLibrary = async () => {
7979
href: `${process.env.ROOT}editor?project_url=https://extensions.turbowarp.org/samples/${encodeURIComponent(sample)}.sb3`,
8080
text: sample
8181
})) : null,
82-
incompatibleWithScratch: true,
82+
incompatibleWithScratch: !extension.scratchCompatible,
8383
featured: true
8484
}));
8585
};

0 commit comments

Comments
 (0)