mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
attribute UI & saving now fully working
This commit is contained in:
@@ -37,6 +37,10 @@ async function getImage(imageId) {
|
||||
return await getEntity("SELECT * FROM images WHERE imageId = ?", [imageId]);
|
||||
}
|
||||
|
||||
async function getAttribute(attributeId) {
|
||||
return await getEntity("SELECT * FROM attributes WHERE attributeId = ?", [attributeId]);
|
||||
}
|
||||
|
||||
async function getLabel(labelId) {
|
||||
return await getEntity("SELECT * FROM labels WHERE labelId = ?", [labelId]);
|
||||
}
|
||||
@@ -75,6 +79,7 @@ module.exports = {
|
||||
getNote,
|
||||
getBranch,
|
||||
getImage,
|
||||
getAttribute,
|
||||
getLabel,
|
||||
getRelation,
|
||||
getOption,
|
||||
|
||||
Reference in New Issue
Block a user