1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/packages/lib/services/noteList/depNameToNoteProp.ts

8 lines
234 B
TypeScript
Raw Normal View History

import { ListRendererDependency } from '../plugins/api/noteListType';
export default (dep: ListRendererDependency) => {
let output: string = dep as string;
if (output === 'note.titleHtml') output = 'note.title';
return output;
};