This commit is contained in:
@@ -52,6 +52,6 @@ function hide() {
|
|||||||
show.value = false
|
show.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
whenever(ctrl_s, () => {})
|
whenever(ctrl_s!, () => {})
|
||||||
whenever(ctrl_r, () => {})
|
whenever(ctrl_r!, () => {})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ async function getContent() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function createNew() {
|
function createNew() {
|
||||||
tutorial.display = list.value[list.value.length - 1].display + 1
|
tutorial.display = list.value[list.value.length - 1]?.display ?? 0 + 1
|
||||||
tutorial.title = ""
|
tutorial.title = ""
|
||||||
tutorial.content = ""
|
tutorial.content = ""
|
||||||
tutorial.is_public = false
|
tutorial.is_public = false
|
||||||
|
|||||||
Reference in New Issue
Block a user