mirror of
https://github.com/zadam/trilium.git
synced 2025-06-05 01:18:44 +02:00
refac: better naming
This commit is contained in:
parent
5fca606730
commit
977399a73e
@ -14,8 +14,8 @@ const Attribute = require('../../becca/entities/attribute');
|
||||
const htmlSanitizer = require('../../services/html_sanitizer');
|
||||
const {formatAttrForSearch} = require("../../services/attribute_formatter");
|
||||
|
||||
function findClippingNote(todayNote, pageUrl) {
|
||||
const notes = todayNote.searchNotesInSubtree(
|
||||
function findClippingNote(clipperInboxNote, pageUrl) {
|
||||
const notes = clipperInboxNote.searchNotesInSubtree(
|
||||
formatAttrForSearch({
|
||||
type: 'label',
|
||||
name: "pageUrl",
|
||||
|
Loading…
x
Reference in New Issue
Block a user