From a369c4978d511bff21a52499a9f5911108e2da2d Mon Sep 17 00:00:00 2001 From: Blallo Date: Thu, 8 Aug 2019 15:30:13 +0200 Subject: [PATCH] Fix movements ui when erroring. --- bot.z_web/src/Movements.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bot.z_web/src/Movements.js b/bot.z_web/src/Movements.js index 0b92b71..ef4ada8 100644 --- a/bot.z_web/src/Movements.js +++ b/bot.z_web/src/Movements.js @@ -26,14 +26,16 @@ class MovementsPage extends React.Component { handleTable() { if (this.state.movements !== undefined) { - return ; + const table = + ; + return ; } else { return Empty; } } render() { - const movements = ; + const movements = this.handleTable(); if (this.state.error) { return Error;