]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore(playground): cast symbol to String (#2462)
authorAkko <48849602+Henrycheheng@users.noreply.github.com>
Tue, 24 Oct 2023 16:01:17 +0000 (00:01 +0800)
committerGitHub <noreply@github.com>
Tue, 24 Oct 2023 16:01:17 +0000 (18:01 +0200)
packages/playground/src/App.vue

index 28712067440d89518623a4722ef088a27522e155..994cdc806bac965264432ea0ca754c037e6356ea 100644 (file)
@@ -40,7 +40,9 @@ const pages = router
 
 const sourceCodeLink = computed(() => {
   if (route.name) {
-    return `https://github.com/vuejs/pinia/blob/v2/packages/playground/src/views/${route.name}.vue`
+    return `https://github.com/vuejs/pinia/blob/v2/packages/playground/src/views/${String(
+      route.name
+    )}.vue`
   } else {
     return `https://github.com/vuejs/pinia/blob/v2/packages/playground/src/`
   }