We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8109652 commit ebcc974Copy full SHA for ebcc974
src/routes/dashboard/+page.svelte
@@ -369,9 +369,10 @@
369
custom_script: '',
370
dotfiles_repo: ''
371
};
372
+ const caskSet = new Set<string>(data.casks || []);
373
const importMap = new Map<string, string>();
374
for (const pkg of data.packages) {
- importMap.set(pkg, 'formula');
375
+ importMap.set(pkg, caskSet.has(pkg) ? 'cask' : 'formula');
376
}
377
selectedPackages = importMap;
378
showModal = true;
0 commit comments