File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/devtools/client/composables Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export function useInstalledModules() {
29
29
if ( ! mod . entryPath )
30
30
return undefined !
31
31
32
- const isPackageModule = mod . entryPath && isNodeModulePath ( mod . entryPath )
32
+ const isPackageModule = ! ! ( mod . entryPath && isNodeModulePath ( mod . entryPath ) )
33
33
const name = mod . meta ?. name
34
34
? mod . meta ?. name
35
35
: mod . entryPath
@@ -40,7 +40,7 @@ export function useInstalledModules() {
40
40
: undefined
41
41
: undefined
42
42
43
- const isUninstallable = config . value ?. modules ?. includes ( name )
43
+ const isUninstallable = ! ! config . value ?. modules ?. includes ( name )
44
44
const info = modules . value ?. find ( m => m . npm === name ) || modules . value ?. find ( m => m . name === name )
45
45
46
46
return {
You can’t perform that action at this time.
0 commit comments