mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
allow duplicated attribute per note (in effect attributes can be multi-valued). Closes #33
This commit is contained in:
@@ -28,7 +28,7 @@ const attributesDialog = (function() {
|
||||
|
||||
function isValid() {
|
||||
for (let attrs = self.attributes(), i = 0; i < attrs.length; i++) {
|
||||
if (self.isEmptyName(i) || self.isNotUnique(i)) {
|
||||
if (self.isEmptyName(i)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user