This commit is contained in:
@@ -52,6 +52,6 @@ function hide() {
|
||||
show.value = false
|
||||
}
|
||||
|
||||
whenever(ctrl_s, () => {})
|
||||
whenever(ctrl_r, () => {})
|
||||
whenever(ctrl_s!, () => {})
|
||||
whenever(ctrl_r!, () => {})
|
||||
</script>
|
||||
|
||||
@@ -98,7 +98,7 @@ async function getContent() {
|
||||
}
|
||||
|
||||
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.content = ""
|
||||
tutorial.is_public = false
|
||||
|
||||
Reference in New Issue
Block a user