rename note types to camelCase

This commit is contained in:
zadam
2022-12-06 23:01:42 +01:00
parent f336435adb
commit b9632a7814
32 changed files with 95 additions and 77 deletions

View File

@@ -43,7 +43,7 @@ export default class NoteWrapperWidget extends FlexContainer {
}
this.$widget.toggleClass("full-content-width",
['image', 'mermaid', 'book', 'render', 'canvas', 'web-view'].includes(note.type)
['image', 'mermaid', 'book', 'render', 'canvas', 'webView'].includes(note.type)
|| !!note?.hasLabel('fullContentWidth')
);