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