fix(views/table): inheritable checkbox not respected

This commit is contained in:
Elian Doran
2025-07-19 13:25:54 +03:00
parent 40a5eee211
commit beb1c15fa5
2 changed files with 7 additions and 5 deletions

View File

@@ -12,11 +12,12 @@ async function addLabel(noteId: string, name: string, value: string = "", isInhe
});
}
export async function setLabel(noteId: string, name: string, value: string = "") {
export async function setLabel(noteId: string, name: string, value: string = "", isInheritable = false) {
await server.put(`notes/${noteId}/set-attribute`, {
type: "label",
name: name,
value: value
value: value,
isInheritable
});
}