mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix attribute sorting, closes #225
This commit is contained in:
parent
cfce744338
commit
b8feb4cce3
@ -117,7 +117,7 @@ async function show() {
|
||||
}
|
||||
|
||||
async function loadNotesAndRelations() {
|
||||
const noteIds = mapData.notes.map(note => note.noteId);console.log(noteIds);
|
||||
const noteIds = mapData.notes.map(note => note.noteId);
|
||||
const data = await server.post("notes/relation-map", {noteIds});
|
||||
|
||||
relations = [];
|
||||
|
@ -25,6 +25,8 @@
|
||||
<tbody data-bind="foreach: ownedAttributes">
|
||||
<tr data-bind="if: !isDeleted">
|
||||
<td>
|
||||
<input type="hidden" name="position" data-bind="value: position"/>
|
||||
|
||||
<select class="form-control attribute-type-select" style="width: auto;"
|
||||
data-bind="options: $parent.availableTypes, optionsText: 'text', optionsValue: 'value', value: type, event: { change: $parent.typeChanged }"></select>
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user