mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 02:05:53 +01:00
make sure the attribute is not duplicated in TreeCache and NoteCache, #1278
This commit is contained in:
@@ -106,6 +106,10 @@ function buildRewardMap(note) {
|
||||
addToRewardMap(attr.name, reward);
|
||||
}
|
||||
|
||||
if (attr.name === 'cliptype') {
|
||||
reward /= 2;
|
||||
}
|
||||
|
||||
let value = attr.value;
|
||||
|
||||
if (value.startsWith('http')) {
|
||||
|
||||
Reference in New Issue
Block a user