mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
cleanup/fixes of label/relation definition usages in the old style
This commit is contained in:
@@ -500,9 +500,7 @@ class ConsistencyChecks {
|
||||
FROM attributes
|
||||
WHERE isDeleted = 0
|
||||
AND type != 'label'
|
||||
AND type != 'label-definition'
|
||||
AND type != 'relation'
|
||||
AND type != 'relation-definition'`,
|
||||
AND type != 'relation'`,
|
||||
({attributeId, type}) => {
|
||||
if (this.autoFix) {
|
||||
const attribute = repository.getAttribute(attributeId);
|
||||
|
||||
Reference in New Issue
Block a user