summaryrefslogtreecommitdiff
path: root/pages/models/_id.vue
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-22 00:06:25 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-09-22 00:06:25 +0200
commitddf5c9356b9d459dededb826faa7a41f34605b72 (patch)
tree92772e3c52620a0360ee78d04ef2cef1db7b2876 /pages/models/_id.vue
parent143485b07b8560d7774aabfe711fabd0efe5f9f6 (diff)
Create model
Diffstat (limited to 'pages/models/_id.vue')
-rw-r--r--pages/models/_id.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/pages/models/_id.vue b/pages/models/_id.vue
index 48ff0eb..1017032 100644
--- a/pages/models/_id.vue
+++ b/pages/models/_id.vue
@@ -139,6 +139,11 @@ export default {
boxFilesToDownload: false,
};
},
+ head() {
+ return {
+ title: this.model.name + " ยท Verden",
+ };
+ },
components: {
ModelStl,
ModelObj,
@@ -148,7 +153,7 @@ export default {
this.id = this.$route.params.id;
this.baseAPI = this.$config.api;
- this.$store.dispatch("models/findModal", this.id).then((response) => {
+ this.$store.dispatch("models/findModel", this.id).then((response) => {
if (response.status != 200) {
window.location.href = "/models";
} else {