File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed
src/features/system/configs Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ export default tseslint.config(
1818 allowAutomaticSingleRunInference : true ,
1919 } ,
2020 } ,
21+ settings : {
22+ react : {
23+ version : "detect"
24+ }
25+ } ,
2126 ignores : [
2227 "eslint.config.js" ,
2328 "**/dist/**/*"
Original file line number Diff line number Diff line change @@ -49,8 +49,10 @@ export class AppsConfig {
4949 getAppById ( id : string , includeUninstalled = false ) : App | null {
5050 let resultApp : App | null = null ;
5151
52- this . apps . forEach ( ( app ) => {
53- if ( resultApp == null && app . id === id && app . isInstalled || includeUninstalled ) {
52+ this . apps . forEach ( ( app : App ) => {
53+ const includeApp = app . isInstalled == null || app . isInstalled || includeUninstalled ;
54+
55+ if ( resultApp == null && app . id === id && includeApp ) {
5456 resultApp = app ;
5557 return ;
5658 }
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ export default defineConfig({
1616 strictOutput : true ,
1717 pathsToAliases : false ,
1818 bundledPackages : [ "@prozilla-os/*" ] ,
19- tsconfigPath : "tsconfig.build.json"
20- } )
19+ tsconfigPath : "tsconfig.build.json" ,
20+ } ) ,
2121 ] ,
2222 build : {
2323 lib : {
@@ -30,7 +30,7 @@ export default defineConfig({
3030 assetFileNames : "assets/[name][extname]" ,
3131 chunkFileNames : "chunks/[name]-[hash].js" ,
3232 entryFileNames : "[name].js" ,
33- }
33+ } ,
3434 } ,
3535 sourcemap : true ,
3636 } ,
You can’t perform that action at this time.
0 commit comments