You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Tools: Add eslint rule "no-unneeded-ternary"
This commit is contained in:
@@ -236,7 +236,7 @@ shared.initState = async function(comp: any) {
|
||||
mode: mode,
|
||||
folder: folder,
|
||||
isLoading: false,
|
||||
fromShare: comp.props.sharedData ? true : false,
|
||||
fromShare: !!comp.props.sharedData,
|
||||
noteResources: await shared.attachedResources(note ? note.body : ''),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user