✨ (history) count notes
This commit is contained in:
@@ -4,11 +4,9 @@ import { computed } from 'vue'
|
||||
export const useNotes = () => {
|
||||
const store = useUserRepoStore()
|
||||
|
||||
const notes = computed(() => {
|
||||
console.log(store.files)
|
||||
|
||||
return store.files
|
||||
})
|
||||
const notes = computed(() =>
|
||||
store.files.filter((file) => file.path?.endsWith('.md'))
|
||||
)
|
||||
|
||||
return {
|
||||
notes
|
||||
|
||||
Reference in New Issue
Block a user