Add protected tag

This commit is contained in:
Jon Staab
2024-12-09 11:59:42 -08:00
parent 1e0cb93183
commit e17cda1eff
10 changed files with 23 additions and 18 deletions
+2
View File
@@ -11,6 +11,7 @@
import ModalHeader from "@lib/components/ModalHeader.svelte"
import ModalFooter from "@lib/components/ModalFooter.svelte"
import DateTimeInput from "@lib/components/DateTimeInput.svelte"
import {PROTECTED} from "@app/state"
import {getPubkeyHints} from "@app/commands"
import {getEditorOptions, getEditorTags} from "@lib/editor"
import {pushToast} from "@app/toast"
@@ -46,6 +47,7 @@
["start", dateToSeconds(start).toString()],
["end", dateToSeconds(end).toString()],
...getEditorTags($editor),
PROTECTED,
],
})