From 30d02195356c51c11bd0b6f9859ca9beb7e6358e Mon Sep 17 00:00:00 2001 From: James Lyne Date: Thu, 31 Dec 2020 13:55:05 +0000 Subject: [PATCH] Add player image to FollowTarget --- src/components/Map.vue | 8 ++-- src/components/sidebar/FollowTarget.vue | 50 ++++++++++++++++--------- 2 files changed, 37 insertions(+), 21 deletions(-) diff --git a/src/components/Map.vue b/src/components/Map.vue index cb91f07..4523d4d 100644 --- a/src/components/Map.vue +++ b/src/components/Map.vue @@ -239,17 +239,17 @@ export default defineComponent({ } if(!this.leaflet) { - console.warn(`Cannot follow ${player.name}. Map not yet initialized.`); + console.warn(`Cannot follow ${player.account}. Map not yet initialized.`); return; } if(player.hidden) { - console.warn(`Cannot follow ${player.name}. Player is hidden from the map.`); + console.warn(`Cannot follow ${player.account}. Player is hidden from the map.`); return; } if(!player.location.world) { - console.warn(`Cannot follow ${player.name}. Player isn't in a known world.`); + console.warn(`Cannot follow ${player.account}. Player isn't in a known world.`); return; } @@ -258,7 +258,7 @@ export default defineComponent({ world = store.state.worlds.get(player.location.world); if(!world) { - console.warn(`Cannot follow ${player.name}. Player isn't in a known world.`); + console.warn(`Cannot follow ${player.account}. Player isn't in a known world.`); return; } diff --git a/src/components/sidebar/FollowTarget.vue b/src/components/sidebar/FollowTarget.vue index 1806461..2dcec1d 100644 --- a/src/components/sidebar/FollowTarget.vue +++ b/src/components/sidebar/FollowTarget.vue @@ -19,7 +19,7 @@

Following

- + Currently hidden @@ -32,12 +32,13 @@