1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Add unpin

This commit is contained in:
asmsuechan
2017-10-11 13:31:40 +09:00
parent fe8045c51d
commit 8fd4deb3eb
2 changed files with 22 additions and 4 deletions

View File

@@ -26,6 +26,10 @@ function validateInput (input) {
validatedInput.isTrashed = !!input.isTrashed
}
if (input.isPinned !== undefined) {
validatedInput.isPinned = !!input.isPinned
}
validatedInput.type = input.type
switch (input.type) {
case 'MARKDOWN_NOTE':