Merge pull request #11647 from tsukimi2/bugfix-npc-style

Fix issues in NPCs should have NPC style on Display Name in chat, Hall. (fixes #11617)
This commit is contained in:
Matteo Pagliazzi
2020-01-29 15:41:46 +01:00
committed by GitHub
6 changed files with 19 additions and 10 deletions

View File

@@ -29,8 +29,8 @@
<div
id="app"
:class="{
'casting-spell': castingSpell,
'resting': showRestingBanner
'casting-spell': castingSpell,
'resting': showRestingBanner
}"
>
<banned-account-modal />

View File

@@ -71,8 +71,8 @@
}
.tierNPC, .npc {
color: #77f4c7;
fill: #77f4c7;
color: #4e4a57;
fill: #4e4a57;
stroke: #005737;
&:hover, &:active, &:focus {

View File

@@ -1,6 +1,9 @@
<template>
<div class="form-wrapper">
<div class="warning-banner d-flex" v-if="forgotPassword && preOutage">
<div
v-if="forgotPassword && preOutage"
class="warning-banner d-flex"
>
<div class="warning-box ml-auto my-auto mr-2 d-flex">
<div
class="svg-icon exclamation m-auto"

View File

@@ -38,7 +38,10 @@
<span>{{ $t('push') }}</span>
</th>
</tr>
<tr v-for="notification in notificationsIds" :key="notification">
<tr
v-for="notification in notificationsIds"
:key="notification"
>
<td>
<span>{{ $t(notification) }}</span>
</td>
@@ -55,7 +58,7 @@
type="checkbox"
@change="set('pushNotifications', notification)"
>
<td v-else>
</td><td v-else>
&nbsp;
</td>
</tr>

View File

@@ -33,7 +33,10 @@
<div class="how-many-to-buy">
<strong>{{ $t('howManyToBuy') }}</strong>
</div>
<div class="mb-3" v-if="item.addlNotes">
<div
v-if="item.addlNotes"
class="mb-3"
>
{{ item.addlNotes }}
</div>
<div class="box">

View File

@@ -92,9 +92,9 @@ export default {
},
isNPC () {
if (this.backer) {
return this.backer.level;
return this.backer.tier;
} if (this.user && this.user.backer) {
return this.user.backer.level;
return this.user.backer.tier;
}
return false;
},