Skip to content

Commit 3ebd665

Browse files
committed
update
1 parent 33194cf commit 3ebd665

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/@[team]/[project]/content.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const client = useStrapiClient()
4242
const branch: Ref<Branch> = ref(null)
4343
const file: Ref<File> = ref(null)
4444
const content: Ref<string> = ref('')
45+
const updatedContent: Ref<string> = ref('')
4546
const parsedContent: Ref<string> = ref('')
4647
const parsedMatter: Ref<string> = ref('')
4748
@@ -119,8 +120,7 @@ function stringifyFrontMatter (content, data = {}) {
119120
}
120121
121122
function saveContent (content) {
122-
const updatedContent = stringifyFrontMatter(content, parsedMatter.value)
123-
// TODO
123+
updatedContent.value = stringifyFrontMatter(content, parsedMatter.value)
124124
}
125125
126126
function findFileFromPath (path, files) {

0 commit comments

Comments
 (0)