From 67161009f8f34ccf3f697528725cecef30b23086 Mon Sep 17 00:00:00 2001 From: frikky Date: Sat, 10 Oct 2020 06:56:52 +0200 Subject: [PATCH] Fixed null pointer exception when deleted auth --- frontend/src/views/Admin.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/Admin.jsx b/frontend/src/views/Admin.jsx index 4de8c320..997aedf8 100644 --- a/frontend/src/views/Admin.jsx +++ b/frontend/src/views/Admin.jsx @@ -1031,7 +1031,7 @@ const Admin = (props) => { console.log("Show apps with this category") }} > - Find app ({data.apps.length}) + Find app ({data.apps === null ? 0 : data.apps.length}) @@ -1094,7 +1094,7 @@ const Admin = (props) => { style={{minWidth: 150, maxWidth: 150}} />