If there is no one to talk with indicate so if there are people we show a message to be consistent with the actions.
This commit is contained in:
parent
e20d4daa67
commit
148cecdec9
|
@ -94,8 +94,14 @@ export default function BottomPanel (props: BottomPanelProps): JSX.Element {
|
|||
if (npcs === null) {
|
||||
return <></>
|
||||
}
|
||||
if (Object.keys(npcs).length < 1) {
|
||||
return <>
|
||||
<p>No hay nadie para hablar ahora.</p>
|
||||
</>
|
||||
}
|
||||
return (
|
||||
<>
|
||||
<p>Disponible para hablar:</p>
|
||||
{
|
||||
Object.keys(npcs).map((identifier) => {
|
||||
const npc = npcs[identifier]
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue