File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -32,18 +32,19 @@ If you have questions or need help, reach out to the community at [GitHub Discus
3232<ClientOnly >
3333 <TextReplacer
3434 container=".replaceable-area"
35- pattern="@alpha "
36- : replacement ="latestRelease"
35+ pattern="@alpha "
36+ prefix="@"
37+ : replacement ="latestReleaseVersion"
3738 > </TextReplacer >
3839 </ClientOnly>
3940
4041<script setup >
4142 import { onMounted , ref } from ' vue'
4243 import TextReplacer from ' ../../components/TextReplacer.vue'
43- import { getLatestRelease } from ' ../../utils/github-api.ts'
44+ import { getLatestReleaseVersion } from ' ../../utils/github-api.ts'
4445
45- const latestRelease = ref (' ' )
46+ const latestReleaseVersion = ref (' ' )
4647 onMounted (async () => {
47- latestRelease .value = await getLatestRelease (' vueup' , ' vue-quill' ).then (data => data)
48+ latestReleaseVersion .value = await getLatestReleaseVersion (' vueup' , ' vue-quill' ).then (data => data)
4849 })
4950</script >
You can’t perform that action at this time.
0 commit comments