mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
rename note types to camelCase
This commit is contained in:
@@ -83,7 +83,7 @@ export default class BulkActionsDialog extends BasicWidget {
|
||||
this.$widget.on('click', '[data-action-add]', async event => {
|
||||
const actionName = $(event.target).attr('data-action-add');
|
||||
|
||||
await bulkActionService.addAction('bulkaction', actionName);
|
||||
await bulkActionService.addAction('bulkAction', actionName);
|
||||
|
||||
await this.refresh();
|
||||
});
|
||||
@@ -111,7 +111,7 @@ export default class BulkActionsDialog extends BasicWidget {
|
||||
|
||||
this.$affectedNoteCount.text(affectedNoteCount);
|
||||
|
||||
const bulkActionNote = await froca.getNote('bulkaction');
|
||||
const bulkActionNote = await froca.getNote('bulkAction');
|
||||
|
||||
const actions = bulkActionService.parseActions(bulkActionNote);
|
||||
|
||||
@@ -150,7 +150,7 @@ export default class BulkActionsDialog extends BasicWidget {
|
||||
if (loadResults.getAttributes().find(attr =>
|
||||
attr.type === 'label'
|
||||
&& attr.name === 'action'
|
||||
&& attr.noteId === 'bulkaction'
|
||||
&& attr.noteId === 'bulkAction'
|
||||
&& attr.isDeleted)) {
|
||||
|
||||
// this may be triggered from e.g. sync without open widget, then no need to refresh the widget
|
||||
|
||||
Reference in New Issue
Block a user