🐛 (flux note) update query strings on fleeting notes
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user