We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb56de6 commit e87ec0fCopy full SHA for e87ec0f
components/download-selector.tsx
@@ -39,7 +39,10 @@ export default function DownloadSelector() {
39
const devChanges = 'https://github.com/EssentialsX/Essentials/commits/2.x';
40
41
const downloadSelected = async () => {
42
- if (selectedModules.length <= 1) return;
+ if (selectedModules.length <= 1) {
43
+ downloadSingle('core');
44
+ return;
45
+ }
46
47
setIsDownloading(true);
48
@@ -182,7 +185,7 @@ export default function DownloadSelector() {
182
185
</Button>
183
186
<Button
184
187
onClick={downloadSelected}
- disabled={selectedModules.length <= 1 || isDownloading}
188
+ disabled={isDownloading}
189
loading={isDownloading}
190
fullWidth
191
className='sm:w-auto'
0 commit comments