Skip to content
Snippets Groups Projects
Commit 5b9d17e3 authored by Martin Claesson's avatar Martin Claesson
Browse files

Merge branch 'development' into 'master'

fix(Npcs): :bug: shouldnt print "in" if location is not set

See merge request !96
parents cc4756f0 9bfb471c
Branches
Tags
1 merge request!96fix(Npcs): :bug: shouldnt print "in" if location is not set
......@@ -39,7 +39,7 @@
<template #default>
<VCard dark>
<VToolbar>
<VToolbarTitle>{{ npc.name }} - Death</VToolbarTitle>
<VToolbarTitle>{{ npc.name }} - {{ npc.dead ? 'Alive' : 'Dead' }}?</VToolbarTitle>
<VBtn icon small @click="showDeathConfirmation = false">
<VIcon>mdi-close</VIcon>
</VBtn>
......@@ -49,7 +49,7 @@
<VCol>
Are you sure you want to mark this NPC as
{{ npc.dead ? 'alive' : 'dead' }}? <br />
{{ npc.name }} in {{ npc.location }}
{{ npc.name }} <template v-if="npc.location">in {{ npc.location }}</template>
</VCol>
</VRow>
<VRow>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment