Coffer: {{guild.gold}} gold
@@ -25,8 +26,15 @@ import {defineComponent} from "vue";
import type {PropType} from "vue";
import type {Guild} from "@/classes/Guild";
+import {version} from "../../package.json"
+
export default defineComponent({
name: "GuildView",
+ data() {
+ return {
+ version: version,
+ }
+ },
props: {
guild: {
type: Object as PropType,
@@ -55,6 +63,11 @@ export default defineComponent({
margin: 0;
line-height: 0.9;
}
+ small {
+ font-size: 0.9rem;
+ font-weight: bold;
+ line-height: 0.25;
+ }
}
.coffer {
text-align: center;
diff --git a/src/views/QuestView.vue b/src/views/QuestView.vue
index 6d96925..78bf942 100644
--- a/src/views/QuestView.vue
+++ b/src/views/QuestView.vue
@@ -280,13 +280,14 @@ import {defineComponent, type PropType} from "vue";
import AdventurerComponent from "@/components/AdventurerMiniComponent.vue";
import type {Adventurer} from "@/classes/Adventurer";
import type {Quest} from "@/classes/Quest";
+import type {Guild} from "@/classes/Guild";
export default defineComponent({
name: "GuildView",
components: {AdventurerComponent},
props: {
guild: {
- type: Object,
+ type: Object as PropType,
},
adventurers: {
type: Object as PropType<{ [key: string]: Adventurer }>,