set dynamic titles
This commit is contained in:
@@ -16,8 +16,12 @@
|
||||
<script setup lang="ts">
|
||||
import SMButton from "../SMButton.vue";
|
||||
import { useRouter } from "vue-router";
|
||||
import { useApplicationStore } from "../../store/ApplicationStore";
|
||||
|
||||
const router = useRouter();
|
||||
const applicationStore = useApplicationStore();
|
||||
|
||||
applicationStore.setDynamicTitle("Forbidden");
|
||||
|
||||
/**
|
||||
* Handle user clicking back/home button
|
||||
|
||||
@@ -19,8 +19,12 @@
|
||||
<script setup lang="ts">
|
||||
import SMButton from "../SMButton.vue";
|
||||
import { useRouter } from "vue-router";
|
||||
import { useApplicationStore } from "../../store/ApplicationStore";
|
||||
|
||||
const router = useRouter();
|
||||
const applicationStore = useApplicationStore();
|
||||
|
||||
applicationStore.setDynamicTitle("Server Error");
|
||||
|
||||
/**
|
||||
* Handle user clicking back/home button
|
||||
|
||||
@@ -16,8 +16,12 @@
|
||||
<script setup lang="ts">
|
||||
import SMButton from "../SMButton.vue";
|
||||
import { useRouter } from "vue-router";
|
||||
import { useApplicationStore } from "../../store/ApplicationStore";
|
||||
|
||||
const router = useRouter();
|
||||
const applicationStore = useApplicationStore();
|
||||
|
||||
applicationStore.setDynamicTitle("Not Found");
|
||||
|
||||
/**
|
||||
* Handle user clicking back/home button
|
||||
|
||||
Reference in New Issue
Block a user