🐛 (flux note) update query strings on fleeting notes

This commit is contained in:
2021-03-22 23:13:56 +01:00
parent eb6bb9e0fa
commit 165cfb96e7
4 changed files with 16 additions and 10 deletions

View File

@@ -41,7 +41,8 @@ import {
toRefs,
computed,
watch,
nextTick
nextTick,
onUnmounted
} from 'vue'
import HeaderNote from '@/components/HeaderNote.vue'
import { useNote } from '@/hooks/useNote.hook'
@@ -83,6 +84,10 @@ export default defineComponent({
watch(renderedContent, () => nextTick(() => listenToClick()))
onUnmounted(() => {
readme.value = ''
})
return {
hasContent,
renderedContent,